From 4c5421fddafd45f0af4b14453a96381f1e47b741 Mon Sep 17 00:00:00 2001 From: Chayan Deb Date: Wed, 22 Jan 2025 17:08:16 +0530 Subject: [PATCH] [Bugfix]: Fixed a bug where the non-persistent wire-draw mode didn't put down a new anchor-point when 'w'-key was pressed by user. This bug was introduced in the upstream-merge (commit 8ce32b7) after incorrectly adopting the upstream way of handling 'infix_interface' mode. --- src/callback.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/callback.c b/src/callback.c index 09febe6b..99fb8c27 100644 --- a/src/callback.c +++ b/src/callback.c @@ -2953,6 +2953,7 @@ int rstate; /* (reduced state, without ShiftMask) */ xctx->last_command = 0; xctx->ui_state |= MENUSTART; xctx->ui_state2 = MENUSTARTWIRE; + if(prev_state & STARTWIRE) start_wire(xctx->mousex_snap, xctx->mousey_snap); } break; }