mirror of
https://github.com/lightsoutgames/godot-accessibility.git
synced 2024-11-21 19:45:55 +00:00
Present button disabled state.
This commit is contained in:
parent
4e1d152657
commit
1bef677066
|
@ -82,6 +82,8 @@ func button_focused():
|
|||
spoke_hint_tooltip = true
|
||||
tokens.append(node.hint_tooltip)
|
||||
tokens.append("button")
|
||||
if node.disabled:
|
||||
tokens.append("disabled")
|
||||
TTS.speak(tokens.join(": "), false)
|
||||
|
||||
func texturebutton_focused():
|
||||
|
|
Loading…
Reference in New Issue
Block a user