Skip to content

Conversation

@willmcgugan
Copy link
Member

@willmcgugan willmcgugan commented Nov 19, 2024

Uses pixel coordinates for scrollbar movements.

Previously we could only detect integer cell positions. If the scrollable view is large, then a movement of 1 cell on the scrollbar could result in more than one movement of the content. By using pixel positions the scrollbar can be far more granular.

This should work on ITerm, but alas there are still bugs there.

Before

no-smooth-scroll

After

smooth-scroll

@willmcgugan willmcgugan merged commit 99ca89e into main Feb 14, 2025
23 checks passed
@willmcgugan willmcgugan deleted the smooth-scroll branch February 14, 2025 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants