xP: cleanup
I had forgotten about the auto-redraw system.
This commit is contained in:
parent
8afe4f8aad
commit
841bc00c51
|
@ -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)
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue