Merge pull request #330 from mx03/groupcoverlimit

Fix: Group cover does not use full width
This commit is contained in:
advplyr 2022-01-27 16:56:14 -06:00 committed by GitHub
commit fe18321e0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -302,6 +302,8 @@ export default {
}
this.noValidCovers = false
validCovers = validCovers.slice(0, 10);
var coverWidth = this.width
var widthPer = this.width
if (validCovers.length > 1) {
@ -324,10 +326,6 @@ export default {
var img = await this.buildCoverImg(validCovers[i], coverWidth, offsetLeft, zIndex, validCovers.length === 1)
outerdiv.appendChild(img)
coverImageEls.push(img)
if(coverImageEls.length >= 30) {
break;
}
}
if (this.showCoverFan) {
@ -355,4 +353,4 @@ export default {
if (this.coverDiv) this.coverDiv.remove()
}
}
</script>
</script>