mirror of
https://github.com/britzl/monarch.git
synced 2025-09-27 18:12:22 +02:00
Guard DEPRECATED transition_id overwriting transition_url (#100)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user