TextInput updates state better when typing
This commit is contained in:
parent
38d950f44a
commit
3077249a13
@ -214,6 +214,7 @@ func (this *TextInput) handleKeyDown (key input.Key, numpad bool) bool {
|
|||||||
this.box.SetText(string(txt))
|
this.box.SetText(string(txt))
|
||||||
this.box.Select(dot)
|
this.box.Select(dot)
|
||||||
this.on.valueChange.Broadcast()
|
this.on.valueChange.Broadcast()
|
||||||
|
this.on.dotChange.Broadcast()
|
||||||
this.logKeystroke()
|
this.logKeystroke()
|
||||||
}
|
}
|
||||||
} ()
|
} ()
|
||||||
|
Loading…
Reference in New Issue
Block a user