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

InputManager: Fix for POINTERTAP firing when cursor is moved #13136

Merged
merged 3 commits into from Oct 19, 2022
Merged

InputManager: Fix for POINTERTAP firing when cursor is moved #13136

merged 3 commits into from Oct 19, 2022

Conversation

PolygonalSun
Copy link
Contributor

This PR contains a fix for the InputManager to not erroneously treat a pointerup event as a POINTERTAP if the cursor has moved outside of the drag threshold, even if it returns to the exact same point.

This fix should address this bug: https://github.com/BabylonJS/ThePirateCove/issues/168

@PolygonalSun PolygonalSun marked this pull request as ready for review October 19, 2022 19:31
@sebavan
Copy link
Member

sebavan commented Oct 19, 2022

Please wait for at least another reviewer before merging :-)

@azure-pipelines
Copy link

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

@azure-pipelines
Copy link

@PolygonalSun PolygonalSun merged commit 878b351 into BabylonJS:master Oct 19, 2022
RaananW pushed a commit that referenced this pull request Dec 9, 2022
* Modify isPointerSwiping to check for moving

* format

Former-commit-id: 29c590dc97e8e12e89609e330e1d72db9fba270c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants