projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56e7d69
)
Roo/bootstrap/UploadCropbox.js
author
edward
<edward@roojs.com>
Fri, 22 Jan 2016 07:05:37 +0000
(15:05 +0800)
committer
edward
<edward@roojs.com>
Fri, 22 Jan 2016 07:05:37 +0000
(15:05 +0800)
Roo/bootstrap/UploadCropbox.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/UploadCropbox.js
b/Roo/bootstrap/UploadCropbox.js
index
dfa5d4d
..
e69fe32
100644
(file)
--- a/
Roo/bootstrap/UploadCropbox.js
+++ b/
Roo/bootstrap/UploadCropbox.js
@@
-428,9
+428,6
@@
Roo.extend(Roo.bootstrap.UploadCropbox, Roo.bootstrap.Component, {
cropWidth = this.thumb.getHeight() * Math.pow(1.1, this.scale * -1);
cropHeight = this.thumb.getWidth() * Math.pow(1.1, this.scale * -1);
- canvas.width = this.minHeight;
- canvas.height = this.minWidth;
-
centerX = this.minHeight / 2;
centerY = this.minWidth / 2;