[Fixed Potential Bug]: The manhatan_line swap-fix for orthogonal wire-stretching is now only applied when 'orthogonal_wiring' is active.
This commit is contained in:
parent
f89135e46d
commit
4441b48693
|
|
@ -1136,7 +1136,7 @@ void move_objects(int what, int merge, double dx, double dy)
|
|||
else if(wire[n].sel == SELECTED2) wire[n].sel = SELECTED1;
|
||||
}
|
||||
|
||||
if(wire[n].sel & (SELECTED|SELECTED1))
|
||||
if((wire[n].sel & (SELECTED|SELECTED1)) && tclgetboolvar("orthogonal_wiring"))
|
||||
{
|
||||
if(xctx->manhattan_lines & 1) xctx->manhattan_lines=2;
|
||||
else if(xctx->manhattan_lines & 2) xctx->manhattan_lines=1;
|
||||
|
|
|
|||
Loading…
Reference in New Issue