Skip to content

Commit

Permalink
Guard DEPRECATED transition_id overwriting transition_url (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
rawktron authored Dec 27, 2023
1 parent ce5ca26 commit 43e847d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion monarch/monarch.lua
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,9 @@ local function load(screen)
msg.post(screen.proxy, MSG_ENABLE)
elseif screen.factory then
screen.factory_ids = collectionfactory.create(screen.factory)
screen.transition_url = screen.factory_ids[screen.transition_id]
if screen.transition_id then
screen.transition_url = screen.factory_ids[screen.transition_id]
end
screen.focus_url = screen.factory_ids[screen.focus_id]
end
screen.loaded = true
Expand Down

0 comments on commit 43e847d

Please sign in to comment.