From 84df5394cccf439689579ee94b83262a0de608ff Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Sun, 10 Jun 2018 19:56:58 +0000 Subject: [PATCH] Augment trees, rather than nodes, when nodes are added. This hopefully catches any node children that need to be accessible. --- addons/accessibility/accessibility.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/accessibility/accessibility.gd b/addons/accessibility/accessibility.gd index cc7ea39..b889603 100644 --- a/addons/accessibility/accessibility.gd +++ b/addons/accessibility/accessibility.gd @@ -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")