mirror of
https://github.com/lightsoutgames/godot-accessibility.git
synced 2024-11-21 19:45:55 +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:
|
if enabled:
|
||||||
augment_tree(get_tree().root)
|
augment_tree(get_tree().root)
|
||||||
else:
|
else:
|
||||||
pass
|
for accessible in get_tree().get_nodes_in_group("accessibles"):
|
||||||
|
accessible.queue_free()
|
||||||
enabled = v
|
enabled = v
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user