Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ScrollArea drag velocity when drag stopped #5175

Merged
merged 2 commits into from
Oct 2, 2024

Commits on Sep 27, 2024

  1. Update ScrollArea drag velocity when drag stopped

    Fixes emilk#5174. The drag velocity was not being updated unless the cursor
    counted as "dragging", which only happens when it's in motion. This
    effectively guarantees that the drag velocity will never be zero, even
    if the cursor is not moving, and results in spurious scroll velocity
    being applied when the cursor is released. Instead, we update the
    velocity only when the drag is stopped, which is when the kinetic
    scrolling actually needs to begin.
    valadaptive committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    55a3ed3 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2024

  1. Configuration menu
    Copy the full SHA
    d063466 View commit details
    Browse the repository at this point in the history