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 issue #2371 #2437

Merged
merged 1 commit into from
Apr 24, 2022
Merged

Fix issue #2371 #2437

merged 1 commit into from
Apr 24, 2022

Conversation

jcgamestoy
Copy link
Contributor

In MouseScrollCallback priority was given to the horizontal movement, I have changed it to return the largest movement (in absolute value) between the X and Y axis.

Perhaps it would be more interesting to have different functions for the X and Y axis.

@raysan5 raysan5 merged commit f2c7b0d into raysan5:master Apr 24, 2022
@raysan5
Copy link
Owner

raysan5 commented Apr 24, 2022

@jcgamestoy hey! nice solution! thanks for the fix! 👍😄

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