Skip to content

Request for adding some more options to widget#6

Open
edward-jazzhands wants to merge 7 commits intoadamviola:mainfrom
edward-jazzhands-forks:main
Open

Request for adding some more options to widget#6
edward-jazzhands wants to merge 7 commits intoadamviola:mainfrom
edward-jazzhands-forks:main

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