mirror of
https://github.com/Insality/druid.git
synced 2025-09-27 18:12:19 +02:00
To-do list changes
This commit is contained in:
@@ -176,14 +176,12 @@ function M.on_input(self, action_id, action)
|
||||
return false
|
||||
end
|
||||
|
||||
local is_key_trigger = (action_id == self.key_trigger)
|
||||
|
||||
if not helper.is_enabled(self.node) then
|
||||
return false
|
||||
end
|
||||
|
||||
local is_pick = true
|
||||
|
||||
local is_key_trigger = (action_id == self.key_trigger)
|
||||
if not is_key_trigger then
|
||||
is_pick = gui.pick_node(self.node, action.x, action.y)
|
||||
if self.click_zone then
|
||||
|
Reference in New Issue
Block a user