You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.
Hi there,
I have an issue on mobile devices, for getting an invalid Raycastingpoint onTap event.
Here, the description: Project https://pchen66.github.io/Panolens/examples/panorama_infospot.html What To Do
Open DevTools on Chrome, set mobile devices and click/tap the panorama. Set a breakpoint on panolens.min.js inside OnTap.
OnTap() is reached after OnMouseDown and no value is defined for a.clientX or clientY, because of touchEvent
this.raycasterPoint.x = (a.clientX - c.left) / g.clientWidth * 2 - 1;
this.raycasterPoint.y = 2 * -((a.clientY - d) / h) + 1;
Do you have any idea how to fix this for mobile device?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi there,
I have an issue on mobile devices, for getting an invalid Raycastingpoint onTap event.
Here, the description:
Project
https://pchen66.github.io/Panolens/examples/panorama_infospot.html
What To Do
Open DevTools on Chrome, set mobile devices and click/tap the panorama. Set a breakpoint on panolens.min.js inside OnTap.
OnTap() is reached after OnMouseDown and no value is defined for a.clientX or clientY, because of touchEvent
this.raycasterPoint.x = (a.clientX - c.left) / g.clientWidth * 2 - 1;
this.raycasterPoint.y = 2 * -((a.clientY - d) / h) + 1;
Do you have any idea how to fix this for mobile device?
The text was updated successfully, but these errors were encountered: