mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-11 19:14:05 +09:00
i was dealing with wrong function xD
This commit is contained in:
@@ -76,9 +76,9 @@ internal object UIStorageChest : UICanvas(), HasInventory {
|
||||
50,
|
||||
500,
|
||||
500,
|
||||
{ itemList.rebuild(catBar.catIconsMeaning[catBar.selectedIcon]) },
|
||||
false
|
||||
)
|
||||
catBar.selectionChangeListener = { old, new -> itemListUpdate() }
|
||||
itemList = UIItemInventoryItemGrid(
|
||||
this,
|
||||
catBar,
|
||||
@@ -86,7 +86,7 @@ internal object UIStorageChest : UICanvas(), HasInventory {
|
||||
100,
|
||||
100,
|
||||
4, 5,
|
||||
drawScrollOnRightside = true,
|
||||
drawScrollOnRightside = false,
|
||||
drawWallet = true,
|
||||
keyDownFun = { _,_ -> Unit },
|
||||
touchDownFun = { _,_,_,_,_ -> itemListUpdate() }
|
||||
|
||||
Reference in New Issue
Block a user