Page 1 of 1

Disable mouse wheel but keep pinch and zoom on mobile

Posted: Thu Dec 24, 2020 6:00 pm
by adamfox
In the output settings I have disabled mouse wheel zoom but this has also disabled being able to pinch and zoom on mobile.

Does anyone know if it is possible to still have pinch and zoom?

Many thanks,

Adam.

Re: Disable mouse wheel but keep pinch and zoom on mobile

Posted: Thu Dec 24, 2020 8:37 pm
by Howard
Try this solution from Hopki:

viewtopic.php?f=6&t=15055

Re: Disable zooming for only one specific panorama??

Posted: Fri Dec 25, 2020 10:23 am
by soulbrother
Howard wrote: Thu Dec 24, 2020 8:37 pm Try this solution from Hopki:
viewtopic.php?f=6&t=15055
Helpful hint, thanks, also from my side.

But I have another question, regarding mousewheel and zooming for only one specific panorama.
How to solve this (using V6 skin and Pro version):

In a tour I want one pano to not be able to zoom.
I entered a tag ("nozoom")
In the skin it´s easy:
I entered a filter in the actions settings, so the buttons for zooming are active only, if there is no tag in the panorama.

But zooming is still possible with the mouse wheel of course, for all panos.
Now, also the mouse wheel should be blocked in (only) this tagged panorama and also the pinch and zoom on all touch devices should be prevented for that panorama.

Could there be any way?

Re: Disable mouse wheel but keep pinch and zoom on mobile

Posted: Fri Dec 25, 2020 7:31 pm
by Hopki
You can use the method in my post above.
But rather than detect Has Touch, use the action filter Tag contains.
You can then have Node Changed actions, one to turn muse zoom off and one to turn it on but use the tag to only activate the required action.
Regards,