mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-01-08 00:08:14 +01:00
Merge pull request #330 from mx03/groupcoverlimit
Fix: Group cover does not use full width
This commit is contained in:
commit
fe18321e0c
@ -302,6 +302,8 @@ export default {
|
|||||||
}
|
}
|
||||||
this.noValidCovers = false
|
this.noValidCovers = false
|
||||||
|
|
||||||
|
validCovers = validCovers.slice(0, 10);
|
||||||
|
|
||||||
var coverWidth = this.width
|
var coverWidth = this.width
|
||||||
var widthPer = this.width
|
var widthPer = this.width
|
||||||
if (validCovers.length > 1) {
|
if (validCovers.length > 1) {
|
||||||
@ -324,10 +326,6 @@ export default {
|
|||||||
var img = await this.buildCoverImg(validCovers[i], coverWidth, offsetLeft, zIndex, validCovers.length === 1)
|
var img = await this.buildCoverImg(validCovers[i], coverWidth, offsetLeft, zIndex, validCovers.length === 1)
|
||||||
outerdiv.appendChild(img)
|
outerdiv.appendChild(img)
|
||||||
coverImageEls.push(img)
|
coverImageEls.push(img)
|
||||||
|
|
||||||
if(coverImageEls.length >= 30) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.showCoverFan) {
|
if (this.showCoverFan) {
|
||||||
|
Loading…
Reference in New Issue
Block a user