Fix unreachable code in textBox

This commit is contained in:
Sasha Koshka 2024-09-10 23:55:38 -04:00
parent b92308fc80
commit 0a8bb39265

View File

@ -121,16 +121,16 @@ func (this *textBox) selectWithoutResettingDesiredX (dot text.Dot) bool {
func (this *textBox) userSelect (dot text.Dot) bool {
if this.selec(dot) {
return true
this.on.dotChange.Broadcast()
return true
}
return false
}
func (this *textBox) userSelectWithoutResettingDesiredX (dot text.Dot) bool {
if this.selectWithoutResettingDesiredX(dot) {
return true
this.on.dotChange.Broadcast()
return true
}
return false
}