Present button disabled state.

This commit is contained in:
Nolan Darilek 2020-01-21 15:28:23 -06:00
parent 4e1d152657
commit 1bef677066

View File

@ -82,6 +82,8 @@ func button_focused():
spoke_hint_tooltip = true spoke_hint_tooltip = true
tokens.append(node.hint_tooltip) tokens.append(node.hint_tooltip)
tokens.append("button") tokens.append("button")
if node.disabled:
tokens.append("disabled")
TTS.speak(tokens.join(": "), false) TTS.speak(tokens.join(": "), false)
func texturebutton_focused(): func texturebutton_focused():