You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an SVGView that works as expected. Renders perfectly, nodes created as expected.
When I enable zoom with svgView.zoom.enable(), it is possible to zoom in and zoom out. I've been looking for a way to set a limit to how much a user can zoom.
For example, I don't want users to zoom out more than SVGView's original size. Similarly, zooming in extremely does break the user experience.
Is there a way to set zoom limits for SVGView?
Thanks
The text was updated successfully, but these errors were encountered:
berkdilek
changed the title
[Question] Is it possible to have limits for zooming on SVGView?
[QUESTION] Is it possible to have limits for zooming on SVGView?
Apr 25, 2021
Hi,
I have an SVGView that works as expected. Renders perfectly, nodes created as expected.
When I enable zoom with
svgView.zoom.enable()
, it is possible to zoom in and zoom out. I've been looking for a way to set a limit to how much a user can zoom.For example, I don't want users to zoom out more than SVGView's original size. Similarly, zooming in extremely does break the user experience.
Is there a way to set zoom limits for SVGView?
Thanks
The text was updated successfully, but these errors were encountered: