mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-10 06:05:26 +02:00
Merge branch 'fix-smooth-scroll-timers' of https://github.com/ivaradi/kitty
This commit is contained in:
@@ -2461,6 +2461,7 @@ class Window:
|
||||
if progress >= 1.0:
|
||||
# Ensure we land exactly on a line boundary with pixel_scroll_offset_y = 0
|
||||
self.screen.scroll_to_absolute(max(0, a.start_scrolled_by - a.total))
|
||||
remove_timer(a.timer)
|
||||
a.timer = 0
|
||||
else:
|
||||
# Use absolute positioning to avoid pixel rounding errors from incremental fractional scrolls
|
||||
|
||||
Reference in New Issue
Block a user