more refact

This commit is contained in:
2026-08-30 23:01:48 +02:00
parent 3890edc946
commit 28b1662195
38 changed files with 353 additions and 663 deletions
+3 -2
View File
@@ -5,8 +5,9 @@ import (
)
func init() {
WidgetManager.Register(gated("inventory", &inkwell.InventoryBar{
WidgetManager.Register(&inkwell.InventoryBar{
Name: "inventory",
When: whenPlaying,
Origin: inkwell.Point{
X: Pad + 2,
Y: invY,
@@ -15,5 +16,5 @@ func init() {
Cols: 4,
SlotSize: invSlot,
Gap: invGap,
}))
})
}