|
|
|
@ -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;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|