Roo/dialog/UploadCropbox.js
authorleon <leon@roojs.com>
Fri, 15 Jul 2022 09:00:02 +0000 (17:00 +0800)
committerleon <leon@roojs.com>
Fri, 15 Jul 2022 09:00:02 +0000 (17:00 +0800)
Roo/dialog/UploadCropbox.js

index 211513a..fc66c7a 100644 (file)
@@ -586,11 +586,6 @@ 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("IMAGE WIDTH: " + width);
-        // console.log("IMAGE HEIGHT: " + height);
-        console.log("WINDOW WIDTH: " + this.thumbEl.getWidth() / this.getScaleLevel());
-        console.log("WINDOW HEIGHT: " + this.thumbEl.getHeight() / this.getScaleLevel());
  
         var maxWidth = this.imageEl.OriginWidth;
         var maxHeight = this.imageEl.OriginHeight;