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