Added a basic List element

This commit is contained in:
2023-01-23 02:05:09 -05:00
parent 90067a6ded
commit 9c24184f24
5 changed files with 480 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ func (element *TextBox) Resize (width, height int) {
func (element *TextBox) HandleMouseDown (x, y int, button tomo.Button) {
if !element.enabled { return }
element.Select()
if !element.selected { element.Select() }
}
func (element *TextBox) HandleMouseUp (x, y int, button tomo.Button) { }