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: handle camera fixing better #202

Merged
merged 1 commit into from
Dec 11, 2024
Merged

fix: handle camera fixing better #202

merged 1 commit into from
Dec 11, 2024

Conversation

flekschas
Copy link
Owner

This PR introduces a better handling of the camera's fixed state and fixes an issue along the way where the fixed state was unset by the lasso end event.

Description

What was changed in this pull request?

I added a property called cameraIsFixed to make it easier to control the camera's fixed state.

Why is it necessary?

Fixes #94

And because I noticed that the camera fixed state was unset upon lasso end

Checklist

  • Provided a concise title as a semantic commit message (e.g. "fix: correctly handle undefined properties")
  • CHANGELOG.md updated
  • Tests added or updated
  • Documentation in README.md added or updated
  • Example(s) added or updated
  • Screenshot, gif, or video attached for visual changes

@flekschas flekschas merged commit ddf4dd8 into main Dec 11, 2024
2 checks passed
@flekschas flekschas deleted the flekschas/fixed-camera branch December 11, 2024 14:58
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.

Disable zoom and pan
1 participant