Hello, I'm implementing an script where the user has the ability to add a hotspot to the panorama when clicking on it. So far it's working great, however I'm having a hard time differencing between a user click and a user drag... What's happening right now is that when the user drags the panorama, almost always a click event is launched at the final position of the mouse. How could I avoid that?
avoid click event when pano is dragged
-
-
With a touch device? I don't see the same behavior on my application under flash.
Try updating your krpano to the latest beta perhaps. -
No. it wasn't on a touch device, I am testing on the krpano web viewer web viewer. I'll try updating also, Thanks...
-
Hi,
just a quick note - in the final 1.0.8.15 that will be definitely working for all cases (global events, plugins, hotspots) - there the click event will be only called when there was no (or just a very little) movement between down and up.
Best regards,
Klaus
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!