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

More consistent notched wheel behavior #47

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open

Conversation

georgealways
Copy link
Owner

Uses the sign of wheel delta to increment NumberControllers on mousewheel. The spec says I'm supposed to be able to divide this value by 120 to get actual lines scrolled, but in reality every browser is doing something different with this value.

Also removed some unnecessary checks and commented in my thinking.

Still only accurately identifying notched wheels in Safari & Chrome.

@georgealways georgealways linked an issue Aug 5, 2023 that may be closed by this pull request
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.

NumberController behaves weird when scrolling mousewheel
1 participant