From c0c4bdb266c75dc0ea4994f2cc2eac01ca01288c Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Mon, 20 May 2024 12:58:02 -0400 Subject: [PATCH] TextBox remembers dot when unfocused Remedy #8 --- textbox.go | 1 - 1 file changed, 1 deletion(-) diff --git a/textbox.go b/textbox.go index 5023531..d12bdb0 100644 --- a/textbox.go +++ b/textbox.go @@ -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()