TextBox remembers dot when unfocused

Remedy #8
This commit is contained in:
Sasha Koshka 2024-05-20 12:58:02 -04:00
parent b8ce9d15f7
commit c0c4bdb266
1 changed files with 0 additions and 1 deletions

View File

@ -227,7 +227,6 @@ func (this *textBox) textOffset () image.Point {
}
func (this *textBox) handleFocusLeave () {
this.dot = text.EmptyDot(0)
this.on.dotChange.Broadcast()
this.invalidateDraw()
this.box.handleFocusLeave()