mirror of
https://github.com/britzl/monarch.git
synced 2025-09-27 18:12:22 +02:00
Wait with screen unload until next screen is loaded and ready to be shown (#74)
* Removed screen flicker when transitioning between screens * Moved advanced example to subfolder. Added basic example. * Remove flicker on back navigation too * Fix issue with no_stack screens added at any time
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
function init(self)
|
||||
local monarch = require "monarch.monarch"
|
||||
local data = monarch.data(hash("screen_preload"))
|
||||
data.count = data.count + 1
|
||||
if data then data.count = data.count + 1 end
|
||||
end
|
||||
|
Reference in New Issue
Block a user