Fix skipping lines above visible ara
This commit is contained in:
parent
37ba426f31
commit
067aa2c197
1 changed files with 1 additions and 1 deletions
|
@ -1107,7 +1107,7 @@ func (f *TextField) drawContent() (overflow bool) {
|
|||
}
|
||||
|
||||
// Skip drawing off-screen lines.
|
||||
if lineY < 0 {
|
||||
if lineY < -lineHeight {
|
||||
continue
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue