Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request - option to disable the zoom on the mouse scroll #1

Open
guilllex opened this issue Aug 17, 2018 · 0 comments
Open

Comments

@guilllex
Copy link

guilllex commented Aug 17, 2018

** This is a feature request **

Add a option in the setting of the module to set the PhotoSphereViewer parameter
"allow_scroll_to_zoom" to false so when I use the module on fullwith position, people can scroll down the page

I made a small test and it work

added line 34 in file modules/mod_dimage_360/tmpl/default.php

29 var PSV = new PhotoSphereViewer({
30 panorama: '<?php echo JURI::base().''.$param;?>',
31 container: div,
32 time_anim: 3000,
33 navbar: true,
34 allow_scroll_to_zoom: false,

Eventually, having to use CTRL + SCROLLING could be a good solution to zoom in and out when mouse is focused inside the module

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant