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

Allow limits on zooming and panning #356

Merged
merged 1 commit into from
May 26, 2023
Merged

Allow limits on zooming and panning #356

merged 1 commit into from
May 26, 2023

Conversation

spoenemann
Copy link
Contributor

Closes #10. The new feature can be tested with the SVG example

Shall we provide sensible defaults for the zoom factor? Zooming towards infinity doesn't make a lot of sense.

@spoenemann
Copy link
Contributor Author

I made a proposal for default limits, see e.g. the generated graph example to test.

Copy link
Contributor

@dhuebner dhuebner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works good! Especially zoom level is very helpful

@spoenemann spoenemann merged commit e058bb2 into master May 26, 2023
@spoenemann spoenemann deleted the viewport-limits branch May 26, 2023 07:30
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

Successfully merging this pull request may close these issues.

Allow limits on zooming / panning
2 participants