@ -2534,6 +2534,10 @@ function PaintWeb (win, doc) {
_self.events.dispatch(new appEvent.canvasSizeChange(bufferCanvas.width * img.canvasScale, bufferCanvas.height * img.canvasScale, img.canvasScale));
pw.image.modified = true;
pw.history.pos = 0;
pw.history.states = [];
return true;
}
@ -1408,6 +1408,9 @@ pwlib.tools.selection = function (app) {
isNumberPlate = false;
app.history.pos = 0;
app.history.states = [];
};
@ -1442,6 +1445,9 @@ pwlib.tools.selection = function (app) {
isNumberPlate = true;