desition and screen magement refactor

This commit is contained in:
2026-02-17 21:37:53 +01:00
parent 11b92f64d6
commit 0357eb415e
22 changed files with 256 additions and 141 deletions

View File

@@ -0,0 +1,14 @@
DesitionManager.register({
id = "go_to_home",
label = "Go to Home",
handle = function()
local screen_index = Context.screen_indices_by_id["home"]
if screen_index then
Context.current_screen = screen_index
Context.selected_desition_index = 1
else
PopupWindow.show({"Error: Screen 'home' not found or not indexed!"})
end
end,
condition = function() return true end
})