Only speak tab changes if tabs have focus.

This commit is contained in:
Nolan Darilek 2019-09-21 08:54:12 -05:00
parent 77db176e20
commit de2f22b0c2

View File

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