aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/firmament/features
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-07-29 23:23:25 +0200
committerLinnea Gräf <nea@nea.moe>2024-07-29 23:23:25 +0200
commitdf29eccdcc1184b3d9ac116192442a359b8185bd (patch)
tree4e6c7eb5475ec05c2bfa3f0dc5f4471a9817f412 /src/main/kotlin/moe/nea/firmament/features
parenta3b1001b3c52c13d6c92f505e6eab1adad5b98aa (diff)
downloadFirmament-df29eccdcc1184b3d9ac116192442a359b8185bd.tar.gz
Firmament-df29eccdcc1184b3d9ac116192442a359b8185bd.tar.bz2
Firmament-df29eccdcc1184b3d9ac116192442a359b8185bd.zip
Fix height of storage overlay inventory
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/features')
-rw-r--r--src/main/kotlin/moe/nea/firmament/features/inventory/storageoverlay/StorageOverlayScreen.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/features/inventory/storageoverlay/StorageOverlayScreen.kt b/src/main/kotlin/moe/nea/firmament/features/inventory/storageoverlay/StorageOverlayScreen.kt
index 62d9952..862616c 100644
--- a/src/main/kotlin/moe/nea/firmament/features/inventory/storageoverlay/StorageOverlayScreen.kt
+++ b/src/main/kotlin/moe/nea/firmament/features/inventory/storageoverlay/StorageOverlayScreen.kt
@@ -49,7 +49,7 @@ class StorageOverlayScreen : Screen(Text.literal("")) {
val playerX = width / 2 - PLAYER_WIDTH / 2
val playerY = y + overviewHeight - PLAYER_Y_INSET
val totalWidth = overviewWidth
- val totalHeight = overviewWidth - PLAYER_Y_INSET + PLAYER_HEIGHT
+ val totalHeight = overviewHeight - PLAYER_Y_INSET + PLAYER_HEIGHT
}
var measurements = Measurements()