projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d1dd58
)
Roo/bootstrap/UploadCropbox.js
author
edward
<edward@roojs.com>
Mon, 22 Feb 2016 05:53:08 +0000
(13:53 +0800)
committer
edward
<edward@roojs.com>
Mon, 22 Feb 2016 05:53:08 +0000
(13:53 +0800)
Roo/bootstrap/UploadCropbox.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/UploadCropbox.js
b/Roo/bootstrap/UploadCropbox.js
index
973792e
..
6e9213f
100644
(file)
--- a/
Roo/bootstrap/UploadCropbox.js
+++ b/
Roo/bootstrap/UploadCropbox.js
@@
-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())