mirror of
https://github.com/lightsoutgames/godot-accessibility.git
synced 2024-12-22 07:35:56 +00:00
Augment trees, rather than nodes, when nodes are added. This hopefully catches any node children that need to be accessible.
This commit is contained in:
parent
df410e5802
commit
84df5394cc
|
@ -34,7 +34,7 @@ func set_initial_scene_focus(scene):
|
|||
print("Set focus in scene")
|
||||
|
||||
func _enter_tree():
|
||||
get_tree().connect("node_added", self, "augment_node")
|
||||
get_tree().connect("node_added", self, "augment_tree")
|
||||
connect("scene_changed", self, "set_initial_scene_focus")
|
||||
connect("main_screen_changed", self, "set_initial_screen_focus")
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user