-
Notifications
You must be signed in to change notification settings - Fork 327
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
Margins/padding causes drag zoom to be inaccurate #38
Comments
Thanks for reporting this @Skuhoo |
This problem also occurs with angular material side bar. |
#38: Fix drag zoom inaccuracy by offsetting X coordinates
Could a new (minor?) release be made with the fix please? |
@niutski I will try and do this tonight |
@etimberg cheers! |
Fixed in #48 |
@niutski fixed in v0.3.0 which I've released. Would you be interested in helping to maintain the zoom plugin? I thought I'd ask since you were quick to fix the merge conflict and get that change merged |
@etimberg I can help out when possible :) |
When the canvas element is offset usings margins/padding the "selection" you make while drag zooming becomes inaccurate.
This is the zoom-time sample page with the body's left margin set to 100:
The text was updated successfully, but these errors were encountered: