Skip to content

Conversation

@Neisvestney
Copy link

Summary

Fixes an issue where double-clicking in toggle mode acted like zoomOut when initialScale was set to a non-default value.

Details

Previously, in cases where initialScale was not 1, the toggle mode did not behave as expected — it only zoomed out instead of toggling between zoom states.
This change ensures that toggle mode now works correctly in the "Responsive Image" example and other similar scenarios.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant