circuitjs1 icon indicating copy to clipboard operation
circuitjs1 copied to clipboard

component moving

Open iddq opened this issue 3 years ago • 4 comments

Hello,

Component moving is problematic. I try to drag and move a relay but instead of moving, it creates an other one. (web version)

iddq avatar Apr 12 '22 07:04 iddq

Use Draw->Select/Drag Sel to select drag mode. (Or press space)

pfalstad avatar Apr 12 '22 15:04 pfalstad

Thank you. What is the reason for not moving the component immediately without keypress? I mean why did you choose this unusual way?

iddq avatar Apr 13 '22 07:04 iddq

Just a guess: Since the majority of connections are wires, it makes sense to place wire after wire.

ArmoredRodent avatar Apr 17 '22 20:04 ArmoredRodent

Probably just because it was easier to implement than having the UI try to guess what you want.

If a component is selected and you're not hovering over one of its posts, I could have it drag instead. That might work. But then I'd have to be smarter about detecting selections, so you can do things like draw diagonal wires that cross each other. We wouldn't be able to just use bounding boxes like we do now.

pfalstad avatar Apr 17 '22 20:04 pfalstad