diff options
author | Linnea Gräf <nea@nea.moe> | 2024-07-29 23:23:25 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-07-29 23:23:25 +0200 |
commit | df29eccdcc1184b3d9ac116192442a359b8185bd (patch) | |
tree | 4e6c7eb5475ec05c2bfa3f0dc5f4471a9817f412 | |
parent | a3b1001b3c52c13d6c92f505e6eab1adad5b98aa (diff) | |
download | firmament-df29eccdcc1184b3d9ac116192442a359b8185bd.tar.gz firmament-df29eccdcc1184b3d9ac116192442a359b8185bd.tar.bz2 firmament-df29eccdcc1184b3d9ac116192442a359b8185bd.zip |
Fix height of storage overlay inventory
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/features/inventory/storageoverlay/StorageOverlayScreen.kt | 2 |
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() |