projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9db9a81
)
Roo/bootstrap/UploadCropbox.js
author
edward
<edward@roojs.com>
Tue, 19 Jan 2016 07:31:29 +0000
(15:31 +0800)
committer
edward
<edward@roojs.com>
Tue, 19 Jan 2016 07:31:29 +0000
(15:31 +0800)
Roo/bootstrap/UploadCropbox.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/UploadCropbox.js
b/Roo/bootstrap/UploadCropbox.js
index
b7d86f4
..
c249ba9
100644
(file)
--- a/
Roo/bootstrap/UploadCropbox.js
+++ b/
Roo/bootstrap/UploadCropbox.js
@@
-203,8
+203,8
@@
Roo.extend(Roo.bootstrap.UploadCropbox, Roo.bootstrap.Component, {
var pw = (this.imageSection.getWidth(true) - w) / 2;
var ph = (this.imageSection.getHeight(true) - h) / 2;
- this.image.setLeft(pw);
- this.image.setTop(ph);
+ this.image
Canvas
.setLeft(pw);
+ this.image
Canvas
.setTop(ph);
},
//
// onMouseDown : function(e)