Coherent commit messages are for weaklings

This commit is contained in:
2023-04-15 18:51:42 -04:00
parent c0b205c6f0
commit 0cd7fb9be9
4 changed files with 16 additions and 0 deletions

View File

@@ -126,6 +126,10 @@ func (element *Checkbox) SetConfig (new tomo.Config) {
element.entity.Invalidate()
}
func (element *Checkbox) HandleFocusChange () {
element.entity.Invalidate()
}
func (element *Checkbox) HandleMouseDown (x, y int, button input.Button) {
if !element.Enabled() { return }
element.Focus()