Disabled buttons are not selectable

This commit is contained in:
Sasha Koshka 2023-01-09 18:20:39 -05:00
parent 80aafdf60c
commit c34e3cd91e
1 changed files with 1 additions and 1 deletions

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 () {