if an instance is selected with ctrl-shift-click in intuitive_interface mode, move instance creating new wires to pins connected to something. This was working as a plain stretch-move (stretch already attached nets instead of creating new ones)
This commit is contained in:
parent
5e14ccf5a0
commit
dcb5689191
|
|
@ -4349,7 +4349,7 @@ static void handle_button_press(int event, int state, int rstate, KeySym key, in
|
||||||
int stretch = (state & ControlMask ? 1 : 0) ^ enable_stretch;
|
int stretch = (state & ControlMask ? 1 : 0) ^ enable_stretch;
|
||||||
xctx->drag_elements = 1;
|
xctx->drag_elements = 1;
|
||||||
/* select attached nets depending on ControlMask and enable_stretch */
|
/* select attached nets depending on ControlMask and enable_stretch */
|
||||||
if(stretch) {
|
if(stretch && !(state & ShiftMask)) {
|
||||||
select_attached_nets(); /* stretch nets that land on selected instance pins */
|
select_attached_nets(); /* stretch nets that land on selected instance pins */
|
||||||
}
|
}
|
||||||
/* if dragging instances with stretch enabled and Shift down add wires to pins
|
/* if dragging instances with stretch enabled and Shift down add wires to pins
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue