no message

main
이범준 7 months ago
parent 691edb0c12
commit a25067c7f6

@ -1034,8 +1034,7 @@ pwlib.gui = function (app) {
this.canvasResizeEnd = function (ev) {
this.resizeHandle.style.visibility = '';
app.imageCrop(0, 0, MathRound(ev.width / app.image.canvasScale),
MathRound(ev.height / app.image.canvasScale));
app.imageCrop(0, 0, MathRound(ev.width / app.image.canvasScale), MathRound(ev.height / app.image.canvasScale));
if (this.timeout_) {
clearTimeout(this.timeout_);

@ -1540,8 +1540,8 @@ function PaintWeb (win, doc) {
return false;
}
var cancel = this.events.dispatch(new appEvent.imageCrop(cropX, cropY,
cropWidth, cropHeight));
var cancel = this.events.dispatch(new appEvent.imageCrop(cropX, cropY, cropWidth, cropHeight));
if (cancel) {
return false;
}
@ -1554,8 +1554,7 @@ function PaintWeb (win, doc) {
cropHeight = this.config.imageHeightMax;
}
if (cropX === 0 && cropY === 0 && image.width === cropWidth && image.height
=== cropHeight) {
if (cropX === 0 && cropY === 0 && image.width === cropWidth && image.height === cropHeight) {
return true;
}

Loading…
Cancel
Save