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

Pen tool creates single anchor path #2503

Closed
0HyperCube opened this issue Mar 31, 2025 · 1 comment · Fixed by #2511 or #2513
Closed

Pen tool creates single anchor path #2503

0HyperCube opened this issue Mar 31, 2025 · 1 comment · Fixed by #2511 or #2513
Assignees
Labels
Good First Issue Good for newcomers Paper Cut A small UX annoyance we should strive to improve

Comments

@0HyperCube
Copy link
Member

0HyperCube commented Mar 31, 2025

Currently you can create a path with a single point by:

  • Selecting the pen tool
  • Mouse down
  • Mouse up
  • Switch to another tool (with a shortcut or the button)

This creates an essentially "empty" layer:
Empty layer

This is not desired. The pen tool should instead delete the new layer.

editor/src/messages/tool/tool_messages/pen_tool.rs

@c-mateo
Copy link
Contributor

c-mateo commented Apr 3, 2025

#2511 fixes this issue

@github-project-automation github-project-automation bot moved this from Short-Term to Completed This Milestone in Task Board Apr 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Good First Issue Good for newcomers Paper Cut A small UX annoyance we should strive to improve
Projects
Status: Completed This Milestone
2 participants