diff --git a/src/callback.c b/src/callback.c index 6e67c7de..ad46f9b3 100644 --- a/src/callback.c +++ b/src/callback.c @@ -2569,8 +2569,8 @@ int rstate; /* (reduced state, without ShiftMask) */ if(draw_xhair) { draw_crosshair(1); /* when moving mouse: first action is delete crosshair, will be drawn later */ } - /* pan schematic */ if(snap_cursor && wire_draw_active) draw_snap_cursor(1); + /* pan schematic */ if(xctx->ui_state & STARTPAN) pan(RUBBER, mx, my); if(xctx->semaphore >= 2) { diff --git a/src/xschemrc b/src/xschemrc index bce0f8cf..db52c144 100644 --- a/src/xschemrc +++ b/src/xschemrc @@ -285,6 +285,9 @@ #### set crosshair size; Default: 0 (full screen spanning crosshair) 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