From dcb56891919510cc5e8f7596a05ebe1b232abfe0 Mon Sep 17 00:00:00 2001 From: stefan schippers Date: Wed, 26 Mar 2025 02:29:35 +0100 Subject: [PATCH] if an instance is selected with ctrl-shift-click in intuitive_interface mode, move instance creating new wires to pins connected to something. This was working as a plain stretch-move (stretch already attached nets instead of creating new ones) --- src/callback.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/callback.c b/src/callback.c index e5ff3ecb..b4daf630 100644 --- a/src/callback.c +++ b/src/callback.c @@ -4349,7 +4349,7 @@ static void handle_button_press(int event, int state, int rstate, KeySym key, in int stretch = (state & ControlMask ? 1 : 0) ^ enable_stretch; xctx->drag_elements = 1; /* select attached nets depending on ControlMask and enable_stretch */ - if(stretch) { + if(stretch && !(state & ShiftMask)) { select_attached_nets(); /* stretch nets that land on selected instance pins */ } /* if dragging instances with stretch enabled and Shift down add wires to pins