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
Collaborator

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!

@Keavon Keavon force-pushed the master branch 3 times, most recently from c7488cf to 1875779 Compare June 27, 2025 01:46
@Keavon Keavon force-pushed the master branch 4 times, most recently from ec51271 to e025103 Compare July 10, 2025 05:48
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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy