Fix height of storage overlay inventory

This commit is contained in:
Linnea Gräf
2024-07-29 23:23:25 +02:00
parent a3b1001b3c
commit df29eccdcc

View File

@@ -49,7 +49,7 @@ class StorageOverlayScreen : Screen(Text.literal("")) {
val playerX = width / 2 - PLAYER_WIDTH / 2 val playerX = width / 2 - PLAYER_WIDTH / 2
val playerY = y + overviewHeight - PLAYER_Y_INSET val playerY = y + overviewHeight - PLAYER_Y_INSET
val totalWidth = overviewWidth val totalWidth = overviewWidth
val totalHeight = overviewWidth - PLAYER_Y_INSET + PLAYER_HEIGHT val totalHeight = overviewHeight - PLAYER_Y_INSET + PLAYER_HEIGHT
} }
var measurements = Measurements() var measurements = Measurements()