Skip to content

Prevent Freehand and Line tools from creating empty layers when clicking but not dragging to draw #2607

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Abhinavpatel00
Copy link

Skip node creation for zero-length lines in Line tool and drawings in Freehand tool

@Keavon Keavon changed the title fixes freehand tool and line tool to not make empty layers Prevent Freehand and Line tools from creating empty layers when clicking but not dragging to draw Apr 23, 2025
@0SlowPoke0
Copy link
Contributor

testing2.mp4

I tried your changes locally. In the Freehand Tool, after drawing a line, clicking on its endpoint causes the line to be deleted.

@Keavon Keavon marked this pull request as draft April 30, 2025 10:10
@Keavon
Copy link
Member

Keavon commented May 2, 2025

@Abhinavpatel00 I've marked this PR as a draft while awaiting fixes. Once you have the issues resolved, please mark it as Ready for Review and leave a comment. Thanks!

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.

3 participants