Disabled buttons are not selectable

This commit is contained in:
Sasha Koshka 2023-01-09 18:20:39 -05:00
parent 80aafdf60c
commit c34e3cd91e

View File

@ -112,7 +112,7 @@ func (element *Button) AdvanceSelection (direction int) (ok bool) {
}
func (element *Button) Selectable () (selectable bool) {
return true
return element.enabled
}
func (element *Button) Select () {