aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornea <nea@nea.moe>2023-07-12 01:41:59 +0200
committernea <nea@nea.moe>2023-07-12 01:41:59 +0200
commit637864fc4f802bf3ff765364312f33ecd7c2f596 (patch)
tree73f2c9f80cc7ec07a8bd6ea2029fc7271455d519
parent4d93f475aadc42c4bf83c3a0749af41659235c71 (diff)
downloadFirmament-637864fc4f802bf3ff765364312f33ecd7c2f596.tar.gz
Firmament-637864fc4f802bf3ff765364312f33ecd7c2f596.tar.bz2
Firmament-637864fc4f802bf3ff765364312f33ecd7c2f596.zip
Save storage overlay data properly
-rw-r--r--TODO.txt3
-rw-r--r--src/main/kotlin/moe/nea/firmament/features/inventory/storageoverlay/StorageOverlay.kt1
2 files changed, 3 insertions, 1 deletions
diff --git a/TODO.txt b/TODO.txt
index f3c524b..94da711 100644
--- a/TODO.txt
+++ b/TODO.txt
@@ -5,7 +5,6 @@ Priority 1:
- recipes
- more recipe categories
- dfu cache
-- Storage Overlay
- PV
- NEU buttons
- Pet/Equipment hud in inventory
@@ -21,6 +20,8 @@ Priority 1:
Priority 2:
- missing talismans / pets in pv
+- renameable storage pages
+- storage overlay slot handling (instead of shortcut page)
- item overlays
- tree capitator
- builders wand
diff --git a/src/main/kotlin/moe/nea/firmament/features/inventory/storageoverlay/StorageOverlay.kt b/src/main/kotlin/moe/nea/firmament/features/inventory/storageoverlay/StorageOverlay.kt
index fae3867..ad1ca53 100644
--- a/src/main/kotlin/moe/nea/firmament/features/inventory/storageoverlay/StorageOverlay.kt
+++ b/src/main/kotlin/moe/nea/firmament/features/inventory/storageoverlay/StorageOverlay.kt
@@ -52,6 +52,7 @@ object StorageOverlay : FirmamentFeature {
is StorageBackingHandle.Overview -> rememberStorageOverview(handler, data)
is StorageBackingHandle.Page -> rememberPage(handler, data)
}
+ Data.markDirty()
}
private fun rememberStorageOverview(