TextBox no longer aggressively requests focus
This commit is contained in:
parent
5149c27cf3
commit
99e029ae09
@ -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))
|
||||
|
Reference in New Issue
Block a user