click on arrow to launch gui/launcher with command

develop
myk002 2022-11-06 16:58:44 -08:00
parent d8c86fd0b1
commit c630a71c73
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
1 changed files with 7 additions and 0 deletions

@ -144,6 +144,13 @@ function MenuScreen:onInput(keys)
elseif keys.STANDARDSCROLL_RIGHT then
self:onSubmit2(self.subviews.list:getSelected())
return true
elseif keys._MOUSE_L then
local list = self.subviews.list
local x = list:getMousePos()
if x == 0 then -- clicked on icon
self:onSubmit2(list:getSelected())
return true
end
end
return self:inputToSubviews(keys)
end