Roo/dialog/UploadCropbox.js
authorleon <leon@roojs.com>
Mon, 11 Jul 2022 09:34:40 +0000 (17:34 +0800)
committerleon <leon@roojs.com>
Mon, 11 Jul 2022 09:34:40 +0000 (17:34 +0800)
Roo/dialog/UploadCropbox.js

index f856d8a..77acfcb 100644 (file)
@@ -621,8 +621,8 @@ Roo.extend(Roo.dialog.UploadCropbox, Roo.Component,  {
                 (
                     (this.scale < this.startScale) && width < this.minWidth ||
                     (this.scale < this.startScale) && height < this.minHeight ||
-                    width > maxWidth ||
-                    height > maxHeight
+                    (this.scale > this.startScale) && width > maxWidth ||
+                    (this.scale > this.startScale) && height > maxHeight
                 )
         ){
             return false;