projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cbdeab
)
Roo/bootstrap/UploadCropbox.js
author
edward
<edward@roojs.com>
Fri, 22 Jan 2016 08:57:48 +0000
(16:57 +0800)
committer
edward
<edward@roojs.com>
Fri, 22 Jan 2016 08:57:48 +0000
(16:57 +0800)
Roo/bootstrap/UploadCropbox.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/UploadCropbox.js
b/Roo/bootstrap/UploadCropbox.js
index
23ecc41
..
a069309
100644
(file)
--- a/
Roo/bootstrap/UploadCropbox.js
+++ b/
Roo/bootstrap/UploadCropbox.js
@@
-265,6
+265,8
@@
Roo.extend(Roo.bootstrap.UploadCropbox, Roo.bootstrap.Component, {
this.fitThumbBox();
+ Roo.log(this.getScaleLevel(false));
+
this.image.setWidth(this.image.OriginWidth * this.getScaleLevel(false));
this.image.setHeight(this.image.OriginHeight * this.getScaleLevel(false));