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

Fix zoomIn after currentScale is set to 1 #7663

Merged
merged 2 commits into from
Aug 21, 2024

Conversation

dkacperski97
Copy link
Contributor

Fixes #7300

Now, image.touchesStart.x and image.touchesStart.y are correctly set to undefined every time we change the scale to 1.

@nolimits4web nolimits4web merged commit 94173da into nolimits4web:master Aug 21, 2024
3 checks passed
@nolimits4web
Copy link
Owner

A bit tweaked it and merged, thanks!

This pull request was closed.
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.

zoom.in function with a custom ratio causes the position to jump if we have previously clicked on the photo
2 participants