projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85aa173
)
Roo/bootstrap/UploadCropbox.js
author
edward
<edward@roojs.com>
Mon, 22 Feb 2016 05:57:33 +0000
(13:57 +0800)
committer
edward
<edward@roojs.com>
Mon, 22 Feb 2016 05:57:33 +0000
(13:57 +0800)
Roo/bootstrap/UploadCropbox.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/UploadCropbox.js
b/Roo/bootstrap/UploadCropbox.js
index
6e9213f
..
6457e02
100644
(file)
--- a/
Roo/bootstrap/UploadCropbox.js
+++ b/
Roo/bootstrap/UploadCropbox.js
@@
-489,16
+489,17
@@
Roo.extend(Roo.bootstrap.UploadCropbox, Roo.bootstrap.Component, {
{
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())
){
+ this.startScale = this.scale;
+
+ while (scale < minScale){
+
+ }
+
return false;
}