default orientation for wire creation is manhattan (H-V). Lines still start oblique by default
This commit is contained in:
parent
9fe67cd242
commit
e9c927d882
|
|
@ -219,6 +219,7 @@ static void start_line(double mx, double my)
|
|||
if(xctx->constr_mv == 1) my = xctx->my_double_save;
|
||||
if(xctx->constr_mv == 2) mx = xctx->mx_double_save;
|
||||
} else {
|
||||
xctx->manhattan_lines = 0;
|
||||
xctx->mx_double_save=mx;
|
||||
xctx->my_double_save=my;
|
||||
}
|
||||
|
|
@ -245,6 +246,7 @@ static void start_wire(double mx, double my)
|
|||
if(xctx->constr_mv == 1) my = xctx->my_double_save;
|
||||
if(xctx->constr_mv == 2) mx = xctx->mx_double_save;
|
||||
} else {
|
||||
xctx->manhattan_lines = 1;
|
||||
xctx->mx_double_save=mx;
|
||||
xctx->my_double_save=my;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue