Try to support disabling the screen reader by deleting all Accessibles.

This commit is contained in:
Nolan Darilek 2020-05-28 13:21:31 -05:00
parent 2da7fcff9d
commit 229353b37f

View File

@ -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