From 2137fa0aeff529ddde8128a45352d068180daa5a Mon Sep 17 00:00:00 2001 From: Chayan Deb Date: Sat, 25 Jan 2025 12:26:52 +0530 Subject: [PATCH] [Graphical Bugfix]: Fixed a small graphical bug that occurred when drawing multi-segment wires in persistent_command mode and suddenly exiting using 'Esc'-key while the snap-cursor is active. --- src/callback.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/callback.c b/src/callback.c index e792181d..fb605967 100644 --- a/src/callback.c +++ b/src/callback.c @@ -2955,6 +2955,7 @@ int rstate; /* (reduced state, without ShiftMask) */ } if(tclgetboolvar("persistent_command") && (xctx->last_command & STARTWIRE)) { xctx->last_command &= ~STARTWIRE; + if(snap_cursor) draw_snap_cursor(1); } break; }