From df29eccdcc1184b3d9ac116192442a359b8185bd Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Mon, 29 Jul 2024 23:23:25 +0200 Subject: Fix height of storage overlay inventory --- .../firmament/features/inventory/storageoverlay/StorageOverlayScreen.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main') 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() -- cgit