-
Notifications
You must be signed in to change notification settings - Fork 51
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: fix mouse zoom issues #195
fix: fix mouse zoom issues #195
Conversation
@EjembiEmmanuel is attempting to deploy a commit to the keep-starknet-strange Team on Vercel. A member of the Team first needs to authorize it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't solve the issue of large jumps when zooming with the mouse.
I think the best solution will be to sort of interpolate the zoom over time, so it doesn't jump too far at once.
Alright, I'll try it out |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With this setup you can no longer pan the canvas after zooming.
Oh, I forgot to test for that. I'll trace the bug and fix it. |
Ended up mostly resolving the issue as part of this PR, so I will close this. |
This PR enhances mouse zoom by making it smoother for mouse and trackpad users