NyanCAD / Mosaic

A modern schematic entry and simulation program
https://nyancad.github.io/Mosaic/
Mozilla Public License 2.0
68 stars 5 forks source link

Keyboard shortcuts to change tools #28

Closed pepijndevos closed 2 years ago

pepijndevos commented 2 years ago

Space should change to wire tool I feel Esc should revert to pointer tool

UX guy wanted to make space drag the view. While I agree middle mouse button is an unpopular choice, I'm not sure I agree.

pepijndevos commented 2 years ago

right click should end the current tool?? or rotate current drag? or open context?

pepijndevos commented 2 years ago

m -> pmos shift+m -> nmos b -> bjt (npn, shift pnp) p -> port w -> wire

pepijndevos commented 2 years ago

I have decided against ctrl+zoom because it's a PITA to cancel browser behavior from React apparently. I also think it sucks. Why would anyone want scroll to pan the view... I mean, it would make sense if a common mouse could scroll sideways.

pepijndevos commented 2 years ago

For panning I think I'll support both middle mouse, or spacebar. I think middle mouse is the most convenient on desktop, but spacebar is more convenient on laptops.

pepijndevos commented 2 years ago

space now pans the view

pepijndevos commented 2 years ago

Right click now cancels stuff