페이트웹 수정(이미지 회전, 이미지 자르기 처리시 수정 이력 초기화)

main
이범준 7 months ago
parent a25067c7f6
commit 73cf15a621

@ -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 = [];
return true;
};
@ -1442,6 +1445,9 @@ pwlib.tools.selection = function (app) {
isNumberPlate = true;
app.history.pos = 0;
app.history.states = [];
return true;
};

Loading…
Cancel
Save