Loop context menu items

This commit is contained in:
Brahim Hadriche committed 2024-01-28 19:00:01 -05:00
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