3
0
mirror of https://github.com/britzl/monarch.git synced 2025-09-28 02:22:20 +02:00

Added queue support to Monarch (#49)

* Created queue and added show() as a queuable action
* Improved logic in confirm popup - It should not crash if there is no next screen in data
* Fixed indentation
* Made the new queue a lot more stable. Fixed tests.
* Removed debug output
* Fixed issue with html5 builds
This commit is contained in:
Björn Ritzl
2019-08-05 14:37:25 +02:00
committed by GitHub
parent 478835f888
commit 49dd390812
8 changed files with 419 additions and 221 deletions

View File

@@ -19,7 +19,7 @@ function on_input(self, action_id, action)
end)
elseif gui.pick_node(gui.get_node("about_button"), action.x, action.y) then
monarch.show(hash("about"), nil, nil, function()
print("showing about done")
print("showing about done")
end)
elseif gui.pick_node(gui.get_node("back_button"), action.x, action.y) then
monarch.back()