mirror of
https://github.com/lightsoutgames/godot-accessibility.git
synced 2024-11-21 19:45:55 +00:00
Don't speak empty labels since this seems to cause a silent crash.
This commit is contained in:
parent
4ff6b51114
commit
833a34b602
|
@ -454,7 +454,8 @@ func focused():
|
|||
if label:
|
||||
if label is Label:
|
||||
label = label.text
|
||||
TTS.speak(label, false)
|
||||
if label and label != "":
|
||||
TTS.speak(label, false)
|
||||
if node is MenuButton:
|
||||
menu_button_focused()
|
||||
elif node is AcceptDialog:
|
||||
|
|
Loading…
Reference in New Issue
Block a user