Roo/dialog/UploadCropbox.js
authorleon <leon@roojs.com>
Fri, 15 Jul 2022 07:29:16 +0000 (15:29 +0800)
committerleon <leon@roojs.com>
Fri, 15 Jul 2022 07:29:16 +0000 (15:29 +0800)
Roo/dialog/UploadCropbox.js

index b3bc9fd..caa12b5 100644 (file)
@@ -587,8 +587,8 @@ Roo.extend(Roo.dialog.UploadCropbox, Roo.Component,  {
         var width = Math.ceil(this.imageEl.OriginWidth * this.getScaleLevel() / minScale);
         var height = Math.ceil(this.imageEl.OriginHeight * this.getScaleLevel() / minScale);
 
-        console.log("WIDTH: " + width);
-        console.log("HEIGHT: " + height);
+        console.log("IMAGE WIDTH: " + this.thumbEl.getWidth() * this.getScaleLevel());
+        console.log("IMAGE HEIGHT: " + );
  
         var maxWidth = this.imageEl.OriginWidth;
         var maxHeight = this.imageEl.OriginHeight;