projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
faaf311
)
Roo/dialog/UploadCropbox.js
author
leon
<leon@roojs.com>
Tue, 9 Aug 2022 05:29:37 +0000
(13:29 +0800)
committer
leon
<leon@roojs.com>
Tue, 9 Aug 2022 05:29:37 +0000
(13:29 +0800)
Roo/dialog/UploadCropbox.js
patch
|
blob
|
history
diff --git
a/Roo/dialog/UploadCropbox.js
b/Roo/dialog/UploadCropbox.js
index
6ddcea7
..
1d44af1
100644
(file)
--- a/
Roo/dialog/UploadCropbox.js
+++ b/
Roo/dialog/UploadCropbox.js
@@
-818,6
+818,9
@@
Roo.extend(Roo.dialog.UploadCropbox, Roo.Component, {
this.canvasEl.width = this.imageEl.OriginWidth * this.getScaleLevel();
this.canvasEl.height = this.imageEl.OriginHeight * this.getScaleLevel();
+
+ console.log("CANVAS WIDTH: " + this.canvasEl.width);
+ console.log("CANVAS HEIGHT: " + this.canvasEl.height);
this.contextEl.drawImage(canvasEl, 0, 0, this.canvasEl.width, this.canvasEl.height, 0, 0, this.canvasEl.width, this.canvasEl.height);