mirror of
https://github.com/lightsoutgames/godot-accessibility.git
synced 2024-11-12 16:45:56 +00:00
Add nodes to an accessible group after they are augmented.
This commit is contained in:
parent
3694e50dda
commit
319c1297c4
|
@ -12,6 +12,9 @@ func gui_input():
|
|||
print("GUI input.")
|
||||
|
||||
func _init(node):
|
||||
if node.is_in_group("accessible"):
|
||||
return
|
||||
node.add_to_group("accessible")
|
||||
# print(node.get_path())
|
||||
self.node = node
|
||||
self.node.connect("focus_entered", self, "focused")
|
||||
|
|
Loading…
Reference in New Issue
Block a user