#61 fix button anim node

This commit is contained in:
Insality
2020-05-16 16:54:48 +03:00
parent bcb7ae04b3
commit 2db45b27e2
3 changed files with 282 additions and 1 deletions

View File

@@ -42,6 +42,9 @@ local function setup_buttons(self)
button_space:set_key_trigger("key_space")
button_space.on_long_click:subscribe(long_tap_callback)
button_space.on_double_click:subscribe(double_tap_callback)
-- Button with another node for animating
self.druid:new_button("button_anim/button", usual_callback, nil, "anim_node_icon")
end