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 ] create a safety zone around resize corner #7

Merged
merged 1 commit into from
Aug 23, 2024
Merged

Conversation

stefan-hoeck
Copy link
Owner

This fixes #6 by creating a safety zone (default radius: 20px) around the lower right corner of the drawing canvas. The radius of the safety zone can be changed in the draw settings. Pressing the left mouse button hase no effect in the safety zone.

There might be much more elegant and less fragile solutions to this, but I currently don't have the capacity to look up how to figure out if we are hovering over the "resize" icon of an element or not.

@stefan-hoeck stefan-hoeck merged commit 69c828a into main Aug 23, 2024
4 checks passed
@stefan-hoeck stefan-hoeck deleted the fix_resize branch August 23, 2024 09:47
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.

[ bug ] mouse interacts with drawing while resizing
1 participant