mirror of
https://github.com/britzl/monarch.git
synced 2025-06-27 02:17:53 +02:00
Fixed issues with missing variables
This commit is contained in:
parent
17df189089
commit
d57d550859
@ -879,7 +879,7 @@ function M.clear(cb)
|
|||||||
local top = stack[#stack]
|
local top = stack[#stack]
|
||||||
while top and top.visible do
|
while top and top.visible do
|
||||||
stack[#stack] = nil
|
stack[#stack] = nil
|
||||||
await(back_out, top, screen, WAIT_FOR_TRANSITION, resume)
|
await(back_out, top, stack[#stack - 1], WAIT_FOR_TRANSITION, resume)
|
||||||
top = stack[#stack]
|
top = stack[#stack]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ function M.create()
|
|||||||
|
|
||||||
local function invoke_if_done()
|
local function invoke_if_done()
|
||||||
if all_callbacks_done then
|
if all_callbacks_done then
|
||||||
print("Warning: The same callback will be invoked twice from the callback tracker!", id or "")
|
print("Warning: The same callback will be invoked twice from the callback tracker!")
|
||||||
end
|
end
|
||||||
if callback_count == 0 and callback then
|
if callback_count == 0 and callback then
|
||||||
all_callbacks_done = true
|
all_callbacks_done = true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user