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 formula of keep content fixed under the cursor #290

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

1e0nhardt
Copy link
Contributor

When I was playing with this program and reading the code, I found a peculiar issue. When I drew a dot on the canvas and the mouse hovered over the dot, after many zoom-in and zoom-out operations, the dot would gradually deviate from the mouse. So I re-derived the formula myself and solved the problem, just need to change one line of code.

@mbrlabs mbrlabs merged commit b2bf687 into mbrlabs:main Aug 27, 2024
3 checks passed
@mbrlabs
Copy link
Owner

mbrlabs commented Aug 27, 2024

Good catch, thank you!

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.

2 participants