Skip to content
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

Make max zoom level (scale) configurable #26

Open
magnusart opened this issue Mar 16, 2025 · 0 comments
Open

Make max zoom level (scale) configurable #26

magnusart opened this issue Mar 16, 2025 · 0 comments

Comments

@magnusart
Copy link

The max zoom level is hardcoded in these places which limit maximum zoom level (scale) of 500%. I have some diagrams with quite a few nodes where this level of zoom is not enough to make the diagram readable. This diagram is an exception from the typical case, but it would be very helpful to be able to increase the zoom level (scale) in the plugin settings.

panzoomInstance = Panzoom(element, {
maxScale: 5,
minScale: 0.5,
contain: "outside",
});

panzoomInstance = Panzoom(element, {
maxScale: 5,
minScale: 0.5,
contain: "outside",
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant