Roo/bootstrap/UploadCropbox.js
authoredward <edward@roojs.com>
Wed, 2 Mar 2016 06:47:18 +0000 (14:47 +0800)
committeredward <edward@roojs.com>
Wed, 2 Mar 2016 06:47:18 +0000 (14:47 +0800)
Roo/bootstrap/UploadCropbox.js

index a9f84ae..d1cd96d 100644 (file)
@@ -744,6 +744,7 @@ Roo.extend(Roo.bootstrap.UploadCropbox, Roo.bootstrap.Component,  {
                 var x = (this.thumbEl.getLeft(true) > this.previewEl.getLeft(true)) ? 0 : (this.thumbEl.getLeft(true) - this.previewEl.getLeft(true));
                 var y = (this.thumbEl.getTop(true) > this.previewEl.getTop(true)) ? 0 : (this.thumbEl.getTop(true) - this.previewEl.getTop(true));
                 
+                if()
 //                var scaleWidth = (width > this.minWidth) ? (this.minWidth / width) : 1;
 //                var scaleHeight = (height > this.minHeight) ? (this.minHeight / height) : 1;
 //