mirror of
https://github.com/lightsoutgames/godot-accessibility.git
synced 2024-11-21 19:45:55 +00:00
Only speak tab changes if tabs have focus.
This commit is contained in:
parent
77db176e20
commit
de2f22b0c2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user