[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.

This commit is contained in:
Chayan Deb 2025-01-25 12:26:52 +05:30
parent ec8ba527e3
commit 2137fa0aef
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}