comment in the code

This commit is contained in:
stefan schippers 2025-01-22 17:29:17 +01:00
parent 0824c1b9b8
commit 096eb126c1
1 changed files with 1 additions and 0 deletions

View File

@ -2549,6 +2549,7 @@ int rstate; /* (reduced state, without ShiftMask) */
}
}
}
/* snap crosshair to closest pin or net endpoint */
if(draw_xhair) {
if( ( (xctx->ui_state & STARTWIRE) || xctx->ui_state == 0 ) && (state & ShiftMask) ) {
double x, y, sx, sy;