mirror of
https://github.com/lightsoutgames/godot-accessibility.git
synced 2024-11-22 03:45:56 +00:00
Speak a bit more context when switching screens, and don't pre-empt.
This commit is contained in:
parent
1037becadf
commit
1faed4fee1
|
@ -17,7 +17,7 @@ func augment_tree(node):
|
||||||
augment_tree(child)
|
augment_tree(child)
|
||||||
|
|
||||||
func set_initial_screen_focus(screen):
|
func set_initial_screen_focus(screen):
|
||||||
tts.speak(screen, true)
|
tts.speak("%s: screen" % screen, false)
|
||||||
var control = find_focusable_control(get_tree().root)
|
var control = find_focusable_control(get_tree().root)
|
||||||
if control.get_focus_owner() != null:
|
if control.get_focus_owner() != null:
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue
Block a user