From 4022d0ec10aaacc28b9cadc88f0d597d8b6ca773 Mon Sep 17 00:00:00 2001 From: Chayan Deb Date: Sun, 26 Jan 2025 14:39:48 +0530 Subject: [PATCH] [Graphical Bugfix]: Fixed a small graphical bug that occurred when drawing a wire while simutaneously zooming in/out in the schematic editor. --- src/callback.c | 2 +- src/xschemrc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/callback.c b/src/callback.c index 0742d4c7..8ce7412c 100644 --- a/src/callback.c +++ b/src/callback.c @@ -4524,7 +4524,7 @@ int rstate; /* (reduced state, without ShiftMask) */ } if(draw_xhair) draw_crosshair(3); /* restore crosshair when selecting / unselecting */ - if(snap_cursor && wire_draw_active) draw_snap_cursor(3); + if(snap_cursor && wire_draw_active) draw_snap_cursor(2); break; case -3: /* double click : edit prop */ if( waves_selected(event, key, state, button)) { diff --git a/src/xschemrc b/src/xschemrc index db52c144..305c308b 100644 --- a/src/xschemrc +++ b/src/xschemrc @@ -288,8 +288,8 @@ set crosshair_size 2 #### enable drawing a diamond-shaped cursor at the closest circuit endpoint. Default: disabled (0) # set snap_cursor 1 -#### set snap_cursor_size; Default: 3 (Diamond-shaped cursor that snaps to nearest circuit endpoint) -# set snap_cursor_size 3 +#### set snap_cursor_size; Default: 6 (Diamond-shaped cursor that snaps to nearest circuit endpoint) +# set snap_cursor_size 6 #### enable to scale grid point size as done with lines at close zoom, default: 0 # set big_grid_points 0