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

adds double-click to reset view to 100% #2436

Merged

Conversation

psychedelicious
Copy link
Collaborator

Adds double-click to reset canvas view to 100%.

  • Adds hook to manage single and double clicks
  • Single Click Reset Canvas View --> scale to fit, no change to current behaviour
  • Double Click Reset Canvas View --> set scale to 1

@psychedelicious
Copy link
Collaborator Author

fixes #2277

@psychedelicious psychedelicious merged commit 1ceb7a6 into invoke-ai:main Jan 27, 2023
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.

None yet

2 participants