mirror of
https://github.com/lightsoutgames/godot-accessibility.git
synced 2024-11-22 03:45:56 +00:00
Try to support disabling the screen reader by deleting all Accessibles
.
This commit is contained in:
parent
2da7fcff9d
commit
229353b37f
|
@ -28,7 +28,8 @@ func _set_enabled(v):
|
|||
if enabled:
|
||||
augment_tree(get_tree().root)
|
||||
else:
|
||||
pass
|
||||
for accessible in get_tree().get_nodes_in_group("accessibles"):
|
||||
accessible.queue_free()
|
||||
enabled = v
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user