projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3a2b75
)
Roo/bootstrap/UploadCropbox.js
author
edward
<edward@roojs.com>
Mon, 22 Feb 2016 06:23:45 +0000
(14:23 +0800)
committer
edward
<edward@roojs.com>
Mon, 22 Feb 2016 06:23:45 +0000
(14:23 +0800)
Roo/bootstrap/UploadCropbox.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/UploadCropbox.js
b/Roo/bootstrap/UploadCropbox.js
index
6473b23
..
443240e
100644
(file)
--- a/
Roo/bootstrap/UploadCropbox.js
+++ b/
Roo/bootstrap/UploadCropbox.js
@@
-491,6
+491,9
@@
Roo.extend(Roo.bootstrap.UploadCropbox, Roo.bootstrap.Component, {
if(this.canvasEl.height < this.thumbEl.getWidth() || this.canvasEl.width < this.thumbEl.getHeight()){
+ var bw = this.canvasEl.width / this.getScaleLevel();
+ var bh = this.canvasEl.height / this.getScaleLevel();
+
Roo.log(this.getScaleLevel());
Roo.log(minScale);