Skip to content

[Bug] Unify selection events #191

@miroiu

Description

@miroiu

Two SelectionChanged events are triggered when calling NodifyEditor.EndSelecting if the selection contains both connections and item containers.

To Reproduce

  1. Select at least one connection and one item container
  2. Start and complete a new selection in the editor by clicking on empty space

Expected behavior
I would expect a single (custom?) SelectionChanged event to be raised, containing information about the selected and deselected connections and items.

Additional context
Implementing correct behavior for selection undo/redo may be challenging without this improvement.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions