3
0
mirror of https://github.com/britzl/monarch.git synced 2025-06-27 02:17:53 +02:00

Fixed wrong message constant

This commit is contained in:
Björn Ritzl 2017-09-26 02:16:44 +02:00
parent 1174de2ba5
commit e24acb51d8

View File

@ -86,7 +86,7 @@ local function show_in(screen, cb)
coroutine.yield()
msg.post(screen.script, "acquire_input_focus")
if screen.controller_url then
msg.post(screen.controller_url, M.MONARCH_FOCUS_GAINED)
msg.post(screen.controller_url, M.FOCUS_GAINED)
end
screen.co = nil
if cb then cb() end
@ -109,7 +109,7 @@ local function back_in(screen, previous_screen, cb)
end
msg.post(screen.script, "acquire_input_focus")
if screen.controller_url then
msg.post(screen.controller_url, M.MONARCH_FOCUS_GAINED)
msg.post(screen.controller_url, M.FOCUS_GAINED)
end
screen.co = nil
if cb then cb() end