-
Notifications
You must be signed in to change notification settings - Fork 304
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
Default scale should be adjusted if beyond given min/max scale (was: Zoom out not working) #138
Comments
Whoa, you're absolutely correct--good catch, thanks! Should be an easy fix, though might need to wait a week or so before I can take a look. Feel free to submit a patch before then if you're so inclined! |
Can do.. Can you point me towards the solution? I'm not that familiar with the code! Adam Sent from my iPhone
|
@cookiejest I would point you to the zoomInOut function, but I would first suggest that you try to reproduce the issue using the most recent version of the plugin from the master branch. The version on the demo site is often behind. |
I have checked that function you suggest against an older version I have where zoom out is working and it looks identical. Also checked the function against the latest version and doesn't look like it's changed so it must be something else? Not sure I'm advanced enough to work this out. :S |
Hi @cookiejest! I just had a chance to look, and it seems that there are two issues at play here: The first issue is that there's currently no sanity check to make sure the initial/default The other issue is that the semantics of the We could maybe deprecate those options and introduce new options with clearer names ( Thanks again for reporting this! |
The zoom out button seems to have stopped working, even in the demo site.
The text was updated successfully, but these errors were encountered: