fix draw_crosshair() (dont get obscured by rubber placement)

This commit is contained in:
Stefan Schippers 2023-11-04 15:56:42 +01:00
parent 4be10f1707
commit fd5a1e0bdf
1 changed files with 3 additions and 3 deletions

View File

@ -1225,9 +1225,6 @@ int rstate; /* (reduced state, without ShiftMask) */
break;
}
if(xctx->ui_state & STARTPAN) pan(RUBBER, mx, my);
if(draw_xhair) {
draw_crosshair(0);
}
if(xctx->semaphore >= 2) break;
if(xctx->ui_state) {
if(abs(mx-xctx->mx_save) > 8 || abs(my-xctx->my_save) > 8 ) {
@ -1309,6 +1306,9 @@ int rstate; /* (reduced state, without ShiftMask) */
}
}
}
if(draw_xhair) {
draw_crosshair(0);
}
break;
case KeyRelease:
break;