projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d3a266
)
Roo/dialog/UploadCropbox.js
author
leon
<leon@roojs.com>
Mon, 11 Jul 2022 09:34:40 +0000
(17:34 +0800)
committer
leon
<leon@roojs.com>
Mon, 11 Jul 2022 09:34:40 +0000
(17:34 +0800)
Roo/dialog/UploadCropbox.js
patch
|
blob
|
history
diff --git
a/Roo/dialog/UploadCropbox.js
b/Roo/dialog/UploadCropbox.js
index
f856d8a
..
77acfcb
100644
(file)
--- a/
Roo/dialog/UploadCropbox.js
+++ b/
Roo/dialog/UploadCropbox.js
@@
-621,8
+621,8
@@
Roo.extend(Roo.dialog.UploadCropbox, Roo.Component, {
(
(this.scale < this.startScale) && width < this.minWidth ||
(this.scale < this.startScale) && height < this.minHeight ||
- width > maxWidth ||
- height > maxHeight
+
(this.scale > this.startScale) &&
width > maxWidth ||
+
(this.scale > this.startScale) &&
height > maxHeight
)
){
return false;