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

Reduce path editing clutter with options to hide non-selected anchors' handles #2261

Open
Keavon opened this issue Feb 4, 2025 · 1 comment · May be fixed by #2264
Open

Reduce path editing clutter with options to hide non-selected anchors' handles #2261

Keavon opened this issue Feb 4, 2025 · 1 comment · May be fixed by #2264
Assignees
Labels
Good First Issue Good for newcomers

Comments

@Keavon
Copy link
Member

Keavon commented Feb 4, 2025

There should be three modes, explained below. But in summary:

  • The first mode is the current behavior where all handles are shown.
  • The second mode is where all selected anchors' segments' handles are shown.
  • The third mode is where only the frontier handles are shown.

Pen tool

In the Pen tool, only these circled handles should appear:

  • Only the last-drawn anchor and its handles are shown, plus the handle on the other end of its connected segment. The Pen tool only has modes 1 and 2, but not 3.

    Image

Path tool

In the Path tool, which allows multi-selection of anchors, these are the cases where it should appear:

  • When one anchor is selected, its handles should be shown, as well as the handles of its connected segment(s). When one anchor is selected, this same situation applies to both modes 2 and 3, because mode 3 only becomes active with multi-selection (otherwise mode 2 is used).

    Image

  • Mode 2: When two or more anchors are selected, all handles (circled in red) on either end of the adjacent segments (purple) are shown.

    Image

  • Mode 3: When two or more anchors are selected, only the handles on the frontier are shown. The green shows the adjacent segments to the selected anchors, and the ends of the green are the frontiers. Selected in red are the only handles to be shown.

    Image

Remember: only the handles in the diagrams above which are circled in red should appear, all other handles should be hidden.

The three modes (two for Pen tool) should be in the respective tools' control bars as a radio button. just use "1", "2", and "3" text for now until I come up with names or icons. The control bar is the area on the left above the drawing viewport where the tool controls are located.

@Keavon Keavon added the Good First Issue Good for newcomers label Feb 4, 2025
@4adex 4adex linked a pull request Feb 4, 2025 that will close this issue
@4adex
Copy link
Contributor

4adex commented Feb 5, 2025

I am working on this, opened a draft PR #2264

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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants