projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1765e11
)
Roo/dialog/UploadCropbox.js
author
leon
<leon@roojs.com>
Fri, 15 Jul 2022 09:00:02 +0000
(17:00 +0800)
committer
leon
<leon@roojs.com>
Fri, 15 Jul 2022 09:00:02 +0000
(17:00 +0800)
Roo/dialog/UploadCropbox.js
patch
|
blob
|
history
diff --git
a/Roo/dialog/UploadCropbox.js
b/Roo/dialog/UploadCropbox.js
index
211513a
..
fc66c7a
100644
(file)
--- a/
Roo/dialog/UploadCropbox.js
+++ b/
Roo/dialog/UploadCropbox.js
@@
-586,11
+586,6
@@
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("IMAGE WIDTH: " + width);
- // console.log("IMAGE HEIGHT: " + height);
- console.log("WINDOW WIDTH: " + this.thumbEl.getWidth() / this.getScaleLevel());
- console.log("WINDOW HEIGHT: " + this.thumbEl.getHeight() / this.getScaleLevel());
var maxWidth = this.imageEl.OriginWidth;
var maxHeight = this.imageEl.OriginHeight;
var maxWidth = this.imageEl.OriginWidth;
var maxHeight = this.imageEl.OriginHeight;