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

Improve scroll snapping with mouse wheel #14562

Merged
merged 2 commits into from
Mar 5, 2024
Merged

Improve scroll snapping with mouse wheel #14562

merged 2 commits into from
Mar 5, 2024

Conversation

emmauss
Copy link
Contributor

@emmauss emmauss commented Feb 9, 2024

What does the pull request do?

Improves scroll snapping when scrolling with mouse wheel. If snappoints are enabled, wheel scrolling will snap to the next scroll snappoint in the direction of the scroll, even if the calculated offset doesn't exceed the midpoint.

What is the current behavior?

What is the updated/expected behavior with this PR?

How was the solution implemented (if it's not obvious)?

Checklist

Breaking changes

Obsoletions / Deprecations

Fixed issues

@emmauss emmauss requested a review from grokys February 9, 2024 14:28
@avaloniaui-bot
Copy link

You can test this PR using the following package version. 11.1.999-cibuild0044721-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@avaloniaui-bot
Copy link

You can test this PR using the following package version. 11.1.999-cibuild0044881-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@maxkatz6 maxkatz6 added this pull request to the merge queue Feb 14, 2024
@maxkatz6 maxkatz6 removed this pull request from the merge queue due to a manual request Feb 14, 2024
@maxkatz6 maxkatz6 merged commit e1203be into master Mar 5, 2024
7 checks passed
@maxkatz6 maxkatz6 deleted the scroll_snap_wheel branch March 5, 2024 21:38
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