Fix skipping lines above visible ara

This commit is contained in:
Trevor Slocum 2024-11-23 11:08:38 -08:00
parent 37ba426f31
commit 067aa2c197

View file

@ -1107,7 +1107,7 @@ func (f *TextField) drawContent() (overflow bool) {
}
// Skip drawing off-screen lines.
if lineY < 0 {
if lineY < -lineHeight {
continue
}