xP: cleanup

I had forgotten about the auto-redraw system.
This commit is contained in:
Přemysl Eric Janouch 2024-07-28 13:42:15 +02:00
parent 8afe4f8aad
commit 841bc00c51
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 1 additions and 3 deletions

View File

@ -695,10 +695,8 @@ let Buffer = {
dom.scrollTop + dom.clientHeight + 1 >= dom.scrollHeight dom.scrollTop + dom.clientHeight + 1 >= dom.scrollHeight
let b = buffers.get(bufferCurrent) let b = buffers.get(bufferCurrent)
if (b !== undefined && b.highlighted && !bufferAutoscroll) { if (b !== undefined && b.highlighted && !bufferAutoscroll)
b.highlighted = false b.highlighted = false
m.redraw()
}
}}, lines) }}, lines)
}, },
} }