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

Fix scroll regression introduced in #11 #14

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

n-peugnet
Copy link
Contributor

@n-peugnet n-peugnet commented Apr 9, 2024

Simply checking that the Buttons bitset of both events is the same is not enough to set the motion to true. We have to make sure that the event is only for buttons and not for the mouseweel.

Fixes #11 (comment)

Simply checking that the Buttons bitset of both events is the same is
not enough to set the motion to true. We have to make ture that the
event is only for buttons and not for the mouseweel.
@n-peugnet n-peugnet changed the title Fix scroll regression introduced in 562ac8ffe Fix scroll regression introduced in #11 Apr 9, 2024
@tulir tulir merged commit f020cbb into tulir:main Apr 9, 2024
3 checks passed
@n-peugnet n-peugnet deleted the fix-scroll-regression branch April 9, 2024 21:00
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.

2 participants