mirror of https://github.com/helix-editor/helix
Fix clamping scroll in certain cases.
.clamp(min, max) requires that min < max. In some cases first + scrolloff > last - scrolloff and we would panic.pull/11/head
parent
5aed1f3c00
commit
463f58dfda
Loading…
Reference in New Issue