-
-
Notifications
You must be signed in to change notification settings - Fork 126
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
Fit to viewer does not fit all image inside #29
Comments
Hi, at this moment the fit function arrange the image to obtain all image inside the viewer. Thank you for your feedback |
I also needed this feature. I wrote some "hacky" code using
|
Could you provide a JSFiddle starting from this https://jsfiddle.net/chrvadala/f67qyfsd/? |
https://jsfiddle.net/f67qyfsd/10/ I moved the |
Bump. It would be super nice to have a way to fit an image to the viewer, working just like |
Is this fixed by #167 and can be closed? |
I think yes |
Hi:
I've met this case when the viewer is square and a portait svg such as 500px * 800px, I invoke
fitToViewer
but only got its width fitted. Could I fit entire svg inside the viewer? Thanks.The text was updated successfully, but these errors were encountered: