projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
34e64f6
)
Roo/dialog/UploadCropbox.js
author
leon
<leon@roojs.com>
Fri, 15 Jul 2022 07:29:16 +0000
(15:29 +0800)
committer
leon
<leon@roojs.com>
Fri, 15 Jul 2022 07:29:16 +0000
(15:29 +0800)
Roo/dialog/UploadCropbox.js
patch
|
blob
|
history
diff --git
a/Roo/dialog/UploadCropbox.js
b/Roo/dialog/UploadCropbox.js
index
b3bc9fd
..
caa12b5
100644
(file)
--- a/
Roo/dialog/UploadCropbox.js
+++ b/
Roo/dialog/UploadCropbox.js
@@
-587,8
+587,8
@@
Roo.extend(Roo.dialog.UploadCropbox, Roo.Component, {
var width = Math.ceil(this.imageEl.OriginWidth * this.getScaleLevel() / minScale);
var height = Math.ceil(this.imageEl.OriginHeight * this.getScaleLevel() / minScale);
var width = Math.ceil(this.imageEl.OriginWidth * this.getScaleLevel() / minScale);
var height = Math.ceil(this.imageEl.OriginHeight * this.getScaleLevel() / minScale);
- console.log("
WIDTH: " + width
);
- console.log("
HEIGHT: " + height
);
+ console.log("
IMAGE WIDTH: " + this.thumbEl.getWidth() * this.getScaleLevel()
);
+ console.log("
IMAGE HEIGHT: " +
);
var maxWidth = this.imageEl.OriginWidth;
var maxHeight = this.imageEl.OriginHeight;
var maxWidth = this.imageEl.OriginWidth;
var maxHeight = this.imageEl.OriginHeight;