Sie sind nicht angemeldet.

1

Donnerstag, 21. Juni 2012, 04:08

avoid click event when pano is dragged

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?

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »pablo_ivan57« (21. Juni 2012, 04:23)


Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

2

Donnerstag, 21. Juni 2012, 17:38

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.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

3

Freitag, 22. Juni 2012, 04:31

No. it wasn't on a touch device, I am testing on the krpano web viewer web viewer. I'll try updating also, Thanks...

4

Samstag, 23. Juni 2012, 12:59

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