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,8 +334,9 @@ func tab_container_focus():
tts.speak(text, false)
func tab_container_tab_changed(tab):
tts.stop()
tab_container_focus()
if node.has_focus():
tts.stop()
tab_container_focus()
func tab_container_input(event):
var new_tab = node.current_tab