X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=roojs-debug.js;h=e26c04bd5f3afa6f73f326e20abea1d035b65122;hb=aa538f922af4058eeaa0a5706ee9c4f1edd98029;hp=0ebdf96620d6759b548d6cf5cfeb27fd306bdc4b;hpb=352a5b7b2e4ecf582271dad13b0b0443fd1c26fa;p=roojs1 diff --git a/roojs-debug.js b/roojs-debug.js index 0ebdf96620..e26c04bd5f 100644 --- a/roojs-debug.js +++ b/roojs-debug.js @@ -68679,9 +68679,9 @@ Roo.extend(Roo.dialog.UploadCropbox, Roo.Component, { !this.isDocument && (this.rotate == 0 || this.rotate == 180) && ( - (this.imageEl.OriginWidth / this.imageEl.OriginHeight > this.minWidth / this.minHeight && width < this.minWidth) || - width > maxWidth || - (this.imageEl.OriginWidth / this.imageEl.OriginHeight < this.minWidth / this.minHeight && height < this.minHeight) || + width < this.minWidth || // zoom out + height < this.minHeight || + width > maxWidth) || height > maxHeight ) ){