Skip to content

Commit

Permalink
Swap transition count and listener order
Browse files Browse the repository at this point in the history
  • Loading branch information
britzl committed Aug 8, 2023
1 parent e5214ed commit 6f79bd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion monarch/monarch.lua
Original file line number Diff line number Diff line change
Expand Up @@ -715,8 +715,8 @@ local function back_out(screen, next_screen, wait_for_transition, cb)
log("back_out()", screen.id)
assert(wait_for_transition ~= nil)
run_coroutine(screen, cb, function()
notify_transition_listeners(M.SCREEN_TRANSITION_OUT_STARTED, { screen = screen.id, next_screen = next_screen and next_screen.id })
active_transition_count = active_transition_count + 1
notify_transition_listeners(M.SCREEN_TRANSITION_OUT_STARTED, { screen = screen.id, next_screen = next_screen and next_screen.id })
change_context(screen)
release_input(screen, next_screen)
focus_lost(screen, next_screen)
Expand Down

0 comments on commit 6f79bd0

Please sign in to comment.