Roo/dialog/UploadCropbox.js
authorleon <leon@roojs.com>
Tue, 9 Aug 2022 07:30:20 +0000 (15:30 +0800)
committerleon <leon@roojs.com>
Tue, 9 Aug 2022 07:30:20 +0000 (15:30 +0800)
Roo/dialog/UploadCropbox.js

index aa55970..5824e50 100644 (file)
@@ -496,10 +496,10 @@ Roo.extend(Roo.dialog.UploadCropbox, Roo.Component,  {
             var new_pw = old_pw - (this.canvasEl.width - old_canvas_width) / 2;
             var new_ph = old_ph - (this.canvasEl.height - old_canvas_height) / 2;
 
-            console.log("old canvas width: " + old_canvas_width);
-            console.log("old canvas height: " + old_canvas_height);
-            console.log("new canvas width: " + this.canvasEl.width);
-            console.log("new canvas height: " + this.canvasEl.height);
+            // console.log("old canvas width: " + old_canvas_width);
+            // console.log("old canvas height: " + old_canvas_height);
+            // console.log("new canvas width: " + this.canvasEl.width);
+            // console.log("new canvas height: " + this.canvasEl.height);
 
             console.log("old left: " + old_pw);
             console.log("old top: " + old_ph);