mirror of
https://github.com/lightsoutgames/godot-accessibility.git
synced 2024-11-22 03:45:56 +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)
|
tts.speak(text, false)
|
||||||
|
|
||||||
func tab_container_tab_changed(tab):
|
func tab_container_tab_changed(tab):
|
||||||
tts.stop()
|
if node.has_focus():
|
||||||
tab_container_focus()
|
tts.stop()
|
||||||
|
tab_container_focus()
|
||||||
|
|
||||||
func tab_container_input(event):
|
func tab_container_input(event):
|
||||||
var new_tab = node.current_tab
|
var new_tab = node.current_tab
|
||||||
|
|
Loading…
Reference in New Issue
Block a user