TextBox no longer aggressively requests focus

This commit is contained in:
Sasha Koshka 2023-03-13 22:25:57 -04:00
parent 5149c27cf3
commit 99e029ae09

View File

@ -81,7 +81,6 @@ func (element *TextBox) HandleMouseDown (x, y int, button input.Button) {
func (element *TextBox) HandleMouseMove (x, y int) {
if !element.Enabled() { return }
if !element.Focused() { element.Focus() }
if element.dragging {
runeIndex := element.atPosition(image.Pt(x, y))