mirror of
https://github.com/lightsoutgames/godot-accessibility.git
synced 2024-11-22 11:55:56 +00:00
Don't speak range changes if the node isn't focused.
This commit is contained in:
parent
e1d24a00a4
commit
6982e2023d
|
@ -259,6 +259,7 @@ func range_focused():
|
||||||
TTS.speak(tokens.join(": "), false)
|
TTS.speak(tokens.join(": "), false)
|
||||||
|
|
||||||
func range_value_changed(value):
|
func range_value_changed(value):
|
||||||
|
if node.has_focus():
|
||||||
TTS.speak("%s" % value, true)
|
TTS.speak("%s" % value, true)
|
||||||
|
|
||||||
func text_edit_focus():
|
func text_edit_focus():
|
||||||
|
|
Loading…
Reference in New Issue
Block a user