mirror of
https://github.com/britzl/monarch.git
synced 2025-09-29 11:02:21 +02:00
Fixed wrong message constant
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user