Roo/bootstrap/UploadCropbox.js
authoredward <edward@roojs.com>
Mon, 22 Feb 2016 05:53:08 +0000 (13:53 +0800)
committeredward <edward@roojs.com>
Mon, 22 Feb 2016 05:53:08 +0000 (13:53 +0800)
Roo/bootstrap/UploadCropbox.js

index 973792e..6e9213f 100644 (file)
@@ -487,9 +487,13 @@ Roo.extend(Roo.bootstrap.UploadCropbox, Roo.bootstrap.Component,  {
     
     onRotateRight : function(e)
     {
-        
         var minScale = this.thumbEl.getWidth() / this.minWidth;
         
+        Roo.log(minScale);
+        
+        
+        
+        
         if(
                 (this.rotate == 0 || this.rotate == 180) && 
                 (this.canvasEl.height < this.thumbEl.getWidth() || this.canvasEl.width < this.thumbEl.getHeight())