Skip to content

Make wires selectable and deletable with Delete key #9

Open

Description

@orchetect
  • Click on a wire body and have it visually feedback by showing it is selected
  • Then be able to hit Delete on the keyboard to remove the connection (or trigger the delete by way of a method)

Activity

  1. wtholliday commented on Sep 3, 2022

    @wtholliday
    Member

    This is important for graphs that allow multiple wires connected to an input port (e.g. event-based things like midi routing).

    I couldn't find any functions in the apple apis for hit testing against bezier strokes. A reasonable method would be just to subdivide the bezier path and early-reject segments that don't intersect with a query rectangle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions