Loop context menu items
This commit is contained in:
1 parent
a7bdab30bc
commit
80d3d24e39
1 file changed
+11
@@ -163,6 +163,17 @@ function OnkeyEvent(key as string, press as boolean) as boolean
|
||||
Close()
|
||||
return true
|
||||
end if
|
||||
|
||||
if key = "up"
|
||||
m.optionsList.jumpToItem = m.optionsList.content.getChildCount() - 1
|
||||
return true
|
||||
end if
|
||||
|
||||
if key = "down"
|
||||
m.optionsList.jumpToItem = 0
|
||||
return true
|
||||
end if
|
||||
|
||||
return false
|
||||
end function
|
||||
|
||||
|
||||
Reference in new issue
Block a user