projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d438f4
)
Roo/bootstrap/UploadCropbox.js
author
edward
<edward@roojs.com>
Fri, 22 Jan 2016 07:16:28 +0000
(15:16 +0800)
committer
edward
<edward@roojs.com>
Fri, 22 Jan 2016 07:16:28 +0000
(15:16 +0800)
Roo/bootstrap/UploadCropbox.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/UploadCropbox.js
b/Roo/bootstrap/UploadCropbox.js
index
ce52c9d
..
893a29d
100644
(file)
--- a/
Roo/bootstrap/UploadCropbox.js
+++ b/
Roo/bootstrap/UploadCropbox.js
@@
-445,7
+445,7
@@
Roo.extend(Roo.bootstrap.UploadCropbox, Roo.bootstrap.Component, {
canvas2.width = this.minWidth;
canvas2.height = this.minHeight;
- context2.drawImage(canvas, Math.abs(this.minWidth - this.minHeight), 0);
+ context2.drawImage(canvas, Math.abs(this.minWidth - this.minHeight), 0
, this.minWidth, this.minHeight, 0, 0, this.minWidth, this.minHeight
);
this.cropImageData = canvas2.toDataURL(this.cropType);