Digital-Logic-Sim icon indicating copy to clipboard operation
Digital-Logic-Sim copied to clipboard

Inconsistent deletion of I/O pins vs. chips

Open dbechrd opened this issue 5 years ago • 1 comments

The "X" UI for deleting inputs/outputs is inconsistent with how chips are deleted from the workspace (click to select, then press Delete key). Both seem good (hotkeys for advanced users, UI for discoverability), so either add the other option to both (best solution IMO) or pick one and use it consistently. I know it was done this way to allow Delete/Backspace to work as normal in the textbox, but there are numerous ways to solve that (e.g. don't auto-focus the textbox).

Recommended:

  • Add red "X" near selected chips to allow deletion
  • Allow deleting I/O pins with Delete/Backspace key

To be considered:

  • Allow Delete/Backspace hotkey to work when mouse is hovering chip or I/O pin, rather than requiring it to be selected first. This would alleviate auto-focus textbox concern for I/O pin names needing Delete/Backspace keys, and make deleting faster. Would require a tentative selection highlight (presumably of a different shade or color) to be rendered on mouse hover.

dbechrd avatar Dec 04 '20 20:12 dbechrd

I saw in the itch.io comments a lot of people being confused about how to delete wires, so adding the red "X" for a selected wire (and adding wire selection if that's not a thing) is probably a good idea too!

There was another itch.io comment about propagation delay, so wire selection would be a useful first step toward setting wire properties in addition to deleting a wire via discoverable UI.

dbechrd avatar Dec 04 '20 20:12 dbechrd