Fix back button on options menu in Library (#39) (#53)

This commit is contained in:
C gh0ul 2019-07-21 12:14:54 -07:00 committed by Nick Bisby
parent accf8ecfa3
commit 3889bfbdce

View File

@ -33,7 +33,7 @@ end sub
function onKeyEvent(key as string, press as boolean) as boolean
if not press then return false
if key = "options"
if key = "options" or key = "back"
m.top.visible = false
m.top.escape = true
return true
@ -45,4 +45,4 @@ function onKeyEvent(key as string, press as boolean) as boolean
end if
return false
end function
end function