Clic function for Make a difference between a simple clic and a drag clic
Submitted by geoffreymorelle on March 7, 2007 - 15:25.
Hello,
Can it's possible to make a difference between a simple clic on an hotSpot with a clic for move the panorama ?
because when i have a very big hotspot ( 50 % of the screen ) the navigation isn't possible.
i have test with replace my "press" by a "release" action, but if the user release this mouse on a hotspot, its activate this.
In fact i want a simply "clic" action (press and release action in one action )
do you understand ?
thanks.
Geo
fieldOfView | SPi-V dev
Re: Clic function for Make a difference between a simple clic an
In a later version of SPi-V 1.4, I will change the behavior that you can not start panning if you click on an 'active' panoelement. Once that is implemented, the 'release' event should do what you want.
Re: Clic function for Make a difference between a simple clic an
Hello,
thanks for you fast answer.
But, my request is very simple, it's only a new event name "clic" for a press/release action.
with this event, i think is possible to separate hotspots actions from pan actions.
Geoffrey Morelle
See more panos on www.geoffreymorelle.com
Re: Clic function for Make a difference between a simple clic an
another slight difference would be that if you press the mouse button on one hotspot and release it on another, it would not fire the "mouseUp" (release) hotspot.
Re: Clic function for Make a difference between a simple clic an
The 'release' event only fires if you release the button over the same element you pressed down on. There is no 'cross clicking' in SPi-V.
So the only difference between the 'release' and 'click' event you propose would be a timeconstraint. Just wait for the next beta, and tell me if you still need the 'click' event then, for realworld scenarios...
Re: Clic function for Make a difference between a simple clic an
Ok,
i make some test with the "release" event, and i re post after testing.
see you
Geoffrey Morelle
See more panos on www.geoffreymorelle.com