mirror of
https://github.com/kepler155c/opus
synced 2025-12-16 13:18:06 +00:00
kiosk mode
This commit is contained in:
@@ -194,7 +194,7 @@ UI.Icon.defaults = {
|
|||||||
}
|
}
|
||||||
function UI.Icon:eventHandler(event)
|
function UI.Icon:eventHandler(event)
|
||||||
if event.type == 'mouse_click' then
|
if event.type == 'mouse_click' then
|
||||||
--self:setFocus(self.button)
|
self:setFocus(self.button)
|
||||||
self:emit({ type = self.button.event, button = self.button })
|
self:emit({ type = self.button.event, button = self.button })
|
||||||
return true
|
return true
|
||||||
elseif event.type == 'mouse_doubleclick' then
|
elseif event.type == 'mouse_doubleclick' then
|
||||||
|
|||||||
Reference in New Issue
Block a user