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

Request for adding some more options to widget #6

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

edward-jazzhands
Copy link

Hey, loving the widget. First off want to thank you a lot for making this.

During my usage I've found that I encountered two problems:

  1. If the widget is nested as a child in another widget, there's no way to control whether it captures the mouse.
  2. It'd be nice to have a way to control the max or min zoom amount.

I made additions to solve both these problems and I tried to make sure it maintains backwards compatibility. The new arguments have defaults that follow the previous behavior (except for setting a default zoom out limit), so it shouldn't affect anyone using it unless they opt in.

Let me know what you think! I can see the last time you updated this was two years ago so hopefully you're still around. I have it working inside my own program so I could demonstrate how it fixes the 'nested' problem, or anything else you might want to discuss.

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.

1 participant