From 841bc00c51488bbef07e70b046b3634ed6ca8b3c Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Sun, 28 Jul 2024 13:42:15 +0200 Subject: xP: cleanup I had forgotten about the auto-redraw system. --- xP/public/xP.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/xP/public/xP.js b/xP/public/xP.js index 3646403..5436a65 100644 --- a/xP/public/xP.js +++ b/xP/public/xP.js @@ -695,10 +695,8 @@ let Buffer = { dom.scrollTop + dom.clientHeight + 1 >= dom.scrollHeight let b = buffers.get(bufferCurrent) - if (b !== undefined && b.highlighted && !bufferAutoscroll) { + if (b !== undefined && b.highlighted && !bufferAutoscroll) b.highlighted = false - m.redraw() - } }}, lines) }, } -- cgit v1.2.3-70-g09d2