mirror of
https://github.com/britzl/monarch.git
synced 2025-06-27 10:27:49 +02:00
Fixed wrong message constant
This commit is contained in:
parent
1174de2ba5
commit
e24acb51d8
@ -86,7 +86,7 @@ local function show_in(screen, cb)
|
|||||||
coroutine.yield()
|
coroutine.yield()
|
||||||
msg.post(screen.script, "acquire_input_focus")
|
msg.post(screen.script, "acquire_input_focus")
|
||||||
if screen.controller_url then
|
if screen.controller_url then
|
||||||
msg.post(screen.controller_url, M.MONARCH_FOCUS_GAINED)
|
msg.post(screen.controller_url, M.FOCUS_GAINED)
|
||||||
end
|
end
|
||||||
screen.co = nil
|
screen.co = nil
|
||||||
if cb then cb() end
|
if cb then cb() end
|
||||||
@ -109,7 +109,7 @@ local function back_in(screen, previous_screen, cb)
|
|||||||
end
|
end
|
||||||
msg.post(screen.script, "acquire_input_focus")
|
msg.post(screen.script, "acquire_input_focus")
|
||||||
if screen.controller_url then
|
if screen.controller_url then
|
||||||
msg.post(screen.controller_url, M.MONARCH_FOCUS_GAINED)
|
msg.post(screen.controller_url, M.FOCUS_GAINED)
|
||||||
end
|
end
|
||||||
screen.co = nil
|
screen.co = nil
|
||||||
if cb then cb() end
|
if cb then cb() end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user