do not start xctx->drag_elements if xctx->poly_point_selected is set
This commit is contained in:
parent
5e4fcabf39
commit
d529f21d88
|
|
@ -3241,7 +3241,9 @@ int rstate; /* (reduced state, without ShiftMask) */
|
|||
/* intuitive interface: directly drag elements */
|
||||
xctx->drag_elements = 0;
|
||||
if(sel.type && xctx->intuitive_interface && xctx->lastsel >= 1 &&
|
||||
!(xctx->lastsel == 1 && xctx->sel_array[0].type==POLYGON) ) {
|
||||
!xctx->poly_point_selected
|
||||
/* !(xctx->lastsel == 1 && xctx->sel_array[0].type==POLYGON) */
|
||||
) {
|
||||
xctx->push_undo();
|
||||
xctx->drag_elements = 1;
|
||||
|
||||
|
|
@ -3249,7 +3251,6 @@ int rstate; /* (reduced state, without ShiftMask) */
|
|||
select_attached_nets(); /* stretch nets that land on selected instance pins */
|
||||
}
|
||||
if(state == ShiftMask) xctx->connect_by_kissing = 2;
|
||||
|
||||
move_objects(START,0,0,0);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue