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