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: If "opts.focal" - calculate coordinates taking into account the planned Scale, and not just the calculated Scale #669

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

IgorA100
Copy link

@IgorA100 IgorA100 commented Jun 8, 2024

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 main.
  • I have run yarn 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 (yarn docs), or no docs changes are needed.

Description

The focal point zooming coordinates must be calculated taking into account both the calculated Scale and the planned Scale.

Fixes: #668

…planned Scale, and not just the calculated Scale (panzoom.ts)
IgorA100 added a commit to IgorA100/zoneminder that referenced this pull request Jun 17, 2024
…planned Scale, and not just the calculated Scale (jquery.panzoom.js)

I created a PR in the author's repository, but there is no feedback yet.
timmywil/panzoom#669
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.

1 participant