mirror of
https://github.com/kepler155c/opus
synced 2025-03-16 05:38:10 +00:00
kiosk mode
This commit is contained in:
parent
3cc368f33a
commit
7c26258f88
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user