From 067aa2c1973f011ee7c31269b9c93167cd12e1c4 Mon Sep 17 00:00:00 2001 From: Trevor Slocum Date: Sat, 23 Nov 2024 11:08:38 -0800 Subject: [PATCH] Fix skipping lines above visible ara --- messeji/textfield.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/messeji/textfield.go b/messeji/textfield.go index dc251c1..a2e3870 100644 --- a/messeji/textfield.go +++ b/messeji/textfield.go @@ -1107,7 +1107,7 @@ func (f *TextField) drawContent() (overflow bool) { } // Skip drawing off-screen lines. - if lineY < 0 { + if lineY < -lineHeight { continue }