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

Update monarch.lua

This commit is contained in:
Björn Ritzl 2019-09-14 01:25:43 +02:00
parent 81237762be
commit 68cda52c0d

View File

@ -685,7 +685,7 @@ function M.show(id, options, data, cb)
-- wait until we are done if showing the same screen as is already visible -- wait until we are done if showing the same screen as is already visible
local same_screen = top and top.id == screen.id local same_screen = top and top.id == screen.id
show_out(top, screen, callbacks.track()) show_out(top, screen, callbacks.track())
if same_screen and then if same_screen then
callbacks.yield_until_done() callbacks.yield_until_done()
end end
end end