-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Zoom: Why two ways to do the same thing? #144
Comments
I think these are two different operations, though arguably the names could be better.
|
But do we need both? 🤔 |
I think we do in the context of user interactions. Imagine you have been doing some zoom in/zoom out by mouse or scroll wheel or whatever. You probably have no idea what your current One could calculate the new The other difference I see between them is that |
So, should we remove the |
I'm inclined not to because I see setting a specific level and zooming by a particular factor as different things. In a widget implementation, allowing |
Ah, gotcha... |
There can be only one.
astrowidgets/astrowidgets/core.py
Lines 409 to 427 in c594308
The text was updated successfully, but these errors were encountered: