Re-introduced some changes to make orthogonal wire-stretching work properly.

This commit is contained in:
Chayan Deb 2025-03-14 20:44:12 +05:30
parent ab00028935
commit f89135e46d
1 changed files with 0 additions and 2 deletions

View File

@ -1136,13 +1136,11 @@ void move_objects(int what, int merge, double dx, double dy)
else if(wire[n].sel == SELECTED2) wire[n].sel = SELECTED1;
}
#if 0
if(wire[n].sel & (SELECTED|SELECTED1))
{
if(xctx->manhattan_lines & 1) xctx->manhattan_lines=2;
else if(xctx->manhattan_lines & 2) xctx->manhattan_lines=1;
}
#endif
wire[n].x1 = xctx->rx1;
wire[n].y1 = xctx->ry1;
if(xctx->manhattan_lines&1)