Roo/bootstrap/UploadCropbox.js
authoredward <edward@roojs.com>
Fri, 22 Jan 2016 07:29:03 +0000 (15:29 +0800)
committeredward <edward@roojs.com>
Fri, 22 Jan 2016 07:29:03 +0000 (15:29 +0800)
Roo/bootstrap/UploadCropbox.js

index 4831a1b..b004f22 100644 (file)
@@ -461,15 +461,11 @@ Roo.extend(Roo.bootstrap.UploadCropbox, Roo.bootstrap.Component,  {
             
         }
         
-        Roo.log([x, y]);
-        
         if(this.rotate == 180){
             x = this.image.OriginWidth - this.thumb.getWidth() * Math.pow(1.1, this.scale * -1) - x;
             y = this.image.OriginHeight - this.thumb.getHeight() * Math.pow(1.1, this.scale * -1) - y;
         }
         
-        Roo.log([x,y]);
-        
         context.translate(centerX, centerY);
 
         context.rotate(this.rotate * Math.PI / 180);