fix a regression in the display of rttaing/flipping objects while moving

This commit is contained in:
stefan schippers 2024-03-07 13:28:47 +01:00
parent f57f09ee12
commit 943c8f4453
1 changed files with 2 additions and 2 deletions

View File

@ -453,8 +453,8 @@ void draw_selection(GC g, int interruptable)
for(k=0;k<cadlayers; ++k) {
draw_temp_symbol(ADD, g, n, k, xctx->move_flip,
xctx->move_rot,
/* (( xctx->move_flip && (xctx->inst[n].rot & 1) ) ? xctx->move_rot+2 : xctx->move_rot) & 0x3, */
/* xctx->move_rot, */
(( xctx->move_flip && (xctx->inst[n].rot & 1) ) ? xctx->move_rot+2 : xctx->move_rot) & 0x3,
xctx->rx1-xctx->inst[n].x0+xctx->deltax,xctx->ry1-xctx->inst[n].y0+xctx->deltay);
}
break;