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

index ae92467..d14c855 100644 (file)
@@ -560,7 +560,7 @@ Roo.extend(Roo.dialog.UploadCropbox, Roo.Component,  {
         
         console.log("START SCALE:" + this.startScale);
         console.log("TEST SCALE: " + this.scale);
-        if(!this.zoomable()){
+        if(!this.zoomable(this.startScale)){
             this.scale = this.startScale;
             return;
         }