diff --git a/client/components/app/LazyBookshelf.vue b/client/components/app/LazyBookshelf.vue index fb888cad..29b06df3 100644 --- a/client/components/app/LazyBookshelf.vue +++ b/client/components/app/LazyBookshelf.vue @@ -4,7 +4,7 @@
@@ -181,9 +181,6 @@ export default { bookWidth() { return this.cardWidth }, - bookHeight() { - return this.cardHeight - }, shelfPadding() { if (this.bookshelfWidth < 640) return 32 * this.sizeMultiplier return 64 * this.sizeMultiplier @@ -194,9 +191,6 @@ export default { entityWidth() { return this.cardWidth }, - entityHeight() { - return this.cardHeight - }, shelfPaddingHeight() { return 16 }, @@ -840,7 +834,7 @@ export default { }) }, entitiesInShelf(shelf) { - return shelf == this.totalShelves ? this.totalEntities % this.entitiesPerShelf : this.entitiesPerShelf + return shelf == this.totalShelves ? this.totalEntities % this.entitiesPerShelf || this.entitiesPerShelf : this.entitiesPerShelf }, entityTransform(entityIndex) { const shelfOffsetY = this.shelfPaddingHeight * this.sizeMultiplier