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

Pinch zoom moves image away from screen center #533

Closed
wants to merge 1 commit into from
Closed

Pinch zoom moves image away from screen center #533

wants to merge 1 commit into from

Conversation

madushandsn
Copy link

@madushandsn madushandsn commented Dec 9, 2020

PR Checklist

Please review the guidelines for contributing to this repository.

  • I am requesting to pull a topic/feature/bugfix branch (right side). In other words, not master.
  • I have run npm test against my changes and tests pass.
  • I have added tests to prove my fix is effective or my feature works. This can be done in the form of unit tests in test/unit/ or a new or altered demo in demo/.
  • I have added or edited necessary types and generated documentation (npm run docs), or no docs changes are needed.

Description

Pinch zoom moves image away from screen center due to pan function updates x and y values while zoom function in progress on mobile devices and causes focal point error

Fixes:
512 - Pinch zoom moves image away from screen center

@timmywil timmywil closed this Jan 11, 2021
@timmywil timmywil deleted the branch timmywil:master January 11, 2021 21:53
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.

3 participants