Proper page changes using the up and down keys (#3621)

pull/3622/head
Robert 6 years ago committed by Frans de Jonge
parent e928276d73
commit 46e0f30b0a

@ -807,7 +807,7 @@ function Menu:updateItems(select_number)
end -- if i <= self.items
end -- for c=1, self.perpage
if self.item_group[1] then
if not Device:isTouchDevice() then
if not Device:isTouchDevice() or Device:hasKeys() then
-- only draw underline for nontouch device
-- reset focus manager accordingly
self.selected = { x = 1, y = select_number }

Loading…
Cancel
Save