Skip to content

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

2 participants