mirror of
https://github.com/Insality/druid.git
synced 2025-06-27 10:27:47 +02:00
To-do list changes
This commit is contained in:
parent
09dbd66484
commit
5ea102d0aa
@ -13,9 +13,9 @@ Simple to-do for Druid Alpha 0.2.0
|
||||
- add init/remove stuff for every style in component. How to set custom sprites for button states?
|
||||
- add druid settings (add auto_focus input and other stuff)
|
||||
|
||||
- button add key trigger
|
||||
+ button add key trigger
|
||||
- button polish, actions
|
||||
- button and hover click restriction zone?
|
||||
+ button and hover click restriction zone?
|
||||
|
||||
- unify component api (get/set/to and other general stuff)
|
||||
- better callbacks for every components
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user