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 degrees of swipe gestures for web #3155

Merged
merged 1 commit into from Jul 5, 2023
Merged

Fix degrees of swipe gestures for web #3155

merged 1 commit into from Jul 5, 2023

Conversation

ghost
Copy link

@ghost ghost commented Jul 4, 2023

Changes 300 to 330 on GESTURE_SWIPE_DOWN to complete the 360° arc.

Changes 120 to 150 on GESTURE_SWIPE_UP and GESTURE_SWIPE_LEFT so they align with 330 and both have a 60° range.

Changes > to >= on GESTURE_SWIPE_UP and GESTURE_SWIPE_DOWN to catch the exact 30.0f, 150.0f, 210.0f and 330.0f degrees if they happen.

Fixes #3154.

@raysan5 raysan5 merged commit 13a26a0 into raysan5:master Jul 5, 2023
@raysan5
Copy link
Owner

raysan5 commented Jul 5, 2023

@ubkp Nice! Thanks for the improvement!

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.

[core] Some degrees issues on swipe gestures for web.
1 participant