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