Skip to content

Commit 6f79bd0

Browse files
committed
Swap transition count and listener order
1 parent e5214ed commit 6f79bd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

monarch/monarch.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -715,8 +715,8 @@ local function back_out(screen, next_screen, wait_for_transition, cb)
715715
log("back_out()", screen.id)
716716
assert(wait_for_transition ~= nil)
717717
run_coroutine(screen, cb, function()
718-
notify_transition_listeners(M.SCREEN_TRANSITION_OUT_STARTED, { screen = screen.id, next_screen = next_screen and next_screen.id })
719718
active_transition_count = active_transition_count + 1
719+
notify_transition_listeners(M.SCREEN_TRANSITION_OUT_STARTED, { screen = screen.id, next_screen = next_screen and next_screen.id })
720720
change_context(screen)
721721
release_input(screen, next_screen)
722722
focus_lost(screen, next_screen)

0 commit comments

Comments
 (0)