-
-
Notifications
You must be signed in to change notification settings - Fork 411
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
Focal point zooming running like the origin is top left when the panzoom element is large than the parent #44
Comments
Would having a panzoom element that's smaller than the parent also cause issues with the pan method? I've added a pan to 0,0 button to the codepen and it takes you to different places at different zoom levels. |
@adrianosmond That sounds like expected behavior. Panning simply sets the translation x and y values. You would see different parts of the panzoom element at different zoom levels. |
Hi, |
@pensionera A good suggestion, but I think we can continue automating this calculation. Patch incoming. |
* master: (33 commits) Use grunt-bowercopy for all bower resources and track necessary resources in git. Update version to 1.8.5 Fixes gh-53. Use a custom matrix equality function rather than jQuery trickery. Update README.md Update to version 1.8.4 Fixes gh-52. Fix tests in IE9. When resetting the transition property, it's value becomes null rather than empty string. Fix SVG test for IE10. When setting the transform to 'none', it removed the attribute Update to version 1.8.3 Close gh-51. Account for top and left margins when calculating inverted containment. Add travis badge to README Woops spaces Add travis.yml Release 1.8.2 Fixes gh-44. Calculate focal-point zoom origin adjustment with the panzoom element's dimensions. Add question to FAQ: links within panzoom elements. Pass through all original properties from the closing click or touch event to the panzoomend event. Fixes gh-41. Expose resetDimensions method to call whenever the dimensions of the element or its parent change. Fixes gh-42. Update file sizes Release 1.7.0: Support CommonJS syntax Add repository field to package.json ... Conflicts: README.md bower.json demo/index.html dist/jquery.panzoom.js dist/jquery.panzoom.min.js package.json panzoom.jquery.json panzoom.js
@timmywil |
http://codepen.io/adrianosmond/pen/KjJCH
From comment
The text was updated successfully, but these errors were encountered: