From f89135e46d63885e921c41d009f84b6a8646761d Mon Sep 17 00:00:00 2001 From: Chayan Deb Date: Fri, 14 Mar 2025 20:44:12 +0530 Subject: [PATCH] Re-introduced some changes to make orthogonal wire-stretching work properly. --- src/move.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/move.c b/src/move.c index 45fd82ca..59893122 100644 --- a/src/move.c +++ b/src/move.c @@ -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)