-
Notifications
You must be signed in to change notification settings - Fork 21
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
disable pan and button click not working #16
Comments
For 2, it may not be easy to fix, there is a preventDefault in action: https://github.com/anitasv/zoom/blob/master/zoom.js#L316 You can try removing it and see how it works for you. This was done to avoid other effects like whole page zooming. |
For 1: Check if this demo is working on your device: http://anitasv.github.io/zoom/zoom_2.html |
|
|
Can you try 1.0.6 version, perhaps regression in the recent changes. |
Oh that way; pan:false use to remove only single button panning. I can see this can be added. |
Please kindly send me ver 1.0.6 |
That may not work, try setting t = 0 |
You may want option to fix origin of transformation also. Like zoom from mid point or zoom from top etc. |
Hello
I want only zoom, i disabled pan and rotate both but still pan is working.
I used on a div, there are some buttons on div, button click not working.
var elem = document.getElementById('crossword'); var zm = new Zoom(elem, { pan: false, rotate: false });
Please advice.
Thank you
The text was updated successfully, but these errors were encountered: