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:
Guilherme Medeiros 2018-01-21 00:00:03 -03:00
parent e77f825dcc
commit fe39b5d6c7
1 changed files with 2 additions and 0 deletions

View File

@ -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)