mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-17 22:14:05 +09:00
fixed a NaN bug caused by a zero-width/height hitbox
Also inventory is widened to 10x7 of prev 9x7
This commit is contained in:
@@ -62,8 +62,8 @@ class UIItemInventoryCatBar(
|
||||
val iconIndex = arrayOf(12, 16, 17, 13)
|
||||
|
||||
|
||||
println(relativeStartX)
|
||||
println(posX)
|
||||
println("[UIItemInventoryCatBar] relativeStartX: $relativeStartX")
|
||||
println("[UIItemInventoryCatBar] posX: $posX")
|
||||
|
||||
sideButtons = Array(iconIndex.size, { index ->
|
||||
val iconPosX = if (index < 2)
|
||||
|
||||
Reference in New Issue
Block a user