3
0
mirror of https://github.com/britzl/monarch.git synced 2025-09-27 10:02:21 +02:00

Improved on the state handling while showing/hiding screens

Also added simple debug logging
This commit is contained in:
Björn Ritzl
2017-12-07 20:49:48 +01:00
parent 6caa41e9f6
commit 007a4eced3
2 changed files with 111 additions and 69 deletions

View File

@@ -1,6 +1,7 @@
local monarch = require "monarch.monarch"
function init(self)
monarch.debug()
msg.post("@render:/", "clear_color", { color = vmath.vector4(0.4, 0.6, 0.8,1.0) })
msg.post("#", "init_monarch") -- wait until init() has been called for all screen.script instances
end