fix draw_crosshair() (dont get obscured by rubber placement)
This commit is contained in:
parent
4be10f1707
commit
fd5a1e0bdf
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue