Fix flipping a selection than trying to move it
After flipping a selection, when we try to move it, TIC-80 was getting the previous seleciton back and then moving it.
This commit is contained in:
parent
e77f825dcc
commit
fe39b5d6c7
|
@ -548,6 +548,7 @@ static void flipCanvasHorz(Sprite* sprite)
|
|||
}
|
||||
|
||||
history_add(sprite->history);
|
||||
copySelection(sprite);
|
||||
}
|
||||
|
||||
static void flipCanvasVert(Sprite* sprite)
|
||||
|
@ -569,6 +570,7 @@ static void flipCanvasVert(Sprite* sprite)
|
|||
}
|
||||
|
||||
history_add(sprite->history);
|
||||
copySelection(sprite);
|
||||
}
|
||||
|
||||
static void drawMoveButtons(Sprite* sprite)
|
||||
|
|
Loading…
Reference in New Issue