Skip to content

Empty parent gates should be removed #74

@aatng-gh

Description

@aatng-gh

Describe the bug
When the last operation is removed from a group, the group collapses and can't be removed/fixed

To Reproduce
Steps to reproduce the behavior:

  1. Drag gate H outside
  2. Drag gate RX outside
  3. Gate Foo is still visible

Expected behavior
Should remove the group all together if there are no more gates left.

Screenshots
Screen Shot 2022-07-07 at 7 17 25 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingqu-draggablequDraggable

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions