Explicitly pick the picker

This commit is contained in:
Nick Bisby 2019-10-14 11:45:35 -05:00
parent c61530e996
commit aaa54a1f37

View File

@ -86,7 +86,9 @@ function onKeyEvent(key as string, press as boolean) as boolean
focusNext()
return true
else if key = "up"
if m.top.getParent().lastFocus <> invalid
if m.top.getParent().findNode("picker") <> invalid
m.top.getParent().findNode("picker").setFocus(true)
else if m.top.getParent().lastFocus <> invalid
m.top.getParent().lastFocus.setFocus(true)
else
m.top.getParent().setFocus(true)