mirror of
https://github.com/britzl/monarch.git
synced 2025-09-27 18:12:22 +02:00
Cleanup
This commit is contained in:
@@ -73,8 +73,6 @@ local function show_out(screen, next_screen, cb)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local function show_in(screen, cb)
|
local function show_in(screen, cb)
|
||||||
print("hsow", screen)
|
|
||||||
pprint(screen)
|
|
||||||
local co
|
local co
|
||||||
co = coroutine.create(function()
|
co = coroutine.create(function()
|
||||||
screen.co = co
|
screen.co = co
|
||||||
@@ -124,7 +122,7 @@ local function back_out(screen, cb)
|
|||||||
co = coroutine.create(function()
|
co = coroutine.create(function()
|
||||||
screen.co = co
|
screen.co = co
|
||||||
msg.post(screen.script, "release_input_focus")
|
msg.post(screen.script, "release_input_focus")
|
||||||
msg.post(screen.script, "monarch_context")
|
msg.post(screen.script, M.CONTEXT)
|
||||||
coroutine.yield()
|
coroutine.yield()
|
||||||
msg.post(screen.transition_url, "transition_back_out")
|
msg.post(screen.transition_url, "transition_back_out")
|
||||||
coroutine.yield()
|
coroutine.yield()
|
||||||
|
Reference in New Issue
Block a user