mirror of
https://github.com/lightsoutgames/godot-accessibility.git
synced 2024-11-22 11:55:56 +00:00
Only speak tab changes if tabs have focus.
This commit is contained in:
parent
77db176e20
commit
de2f22b0c2
|
@ -334,6 +334,7 @@ func tab_container_focus():
|
||||||
tts.speak(text, false)
|
tts.speak(text, false)
|
||||||
|
|
||||||
func tab_container_tab_changed(tab):
|
func tab_container_tab_changed(tab):
|
||||||
|
if node.has_focus():
|
||||||
tts.stop()
|
tts.stop()
|
||||||
tab_container_focus()
|
tab_container_focus()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user