mirror of
https://github.com/britzl/monarch.git
synced 2025-09-28 18:42:21 +02:00
Added show() function for adding outside the stack. Fixes #26
This commit is contained in:
@@ -8,6 +8,8 @@ end
|
||||
|
||||
function on_message(self, message_id, message, sender)
|
||||
if message_id == hash("init_monarch") then
|
||||
monarch.show(hash("menu"))
|
||||
monarch.show(hash("background"), { no_stack = true }, nil, function()
|
||||
monarch.show(hash("menu"))
|
||||
end)
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user