Commit e79b046 1 parent e4abdee commit e79b046 Copy full SHA for e79b046
File tree 2 files changed +2
-2
lines changed
projects/ngx-image-cropper
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " ngx-image-cropper" ,
3
- "version" : " 9.0.0 " ,
3
+ "version" : " 9.1.1 " ,
4
4
"description" : " An image cropper for Angular" ,
5
5
"author" : " Martijn Willekens" ,
6
6
"repository" : {
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ export class CropperState {
71
71
}
72
72
73
73
let positionPossiblyChanged = false ;
74
- if ( ( this . options . maintainAspectRatio && options [ 'aspectRatio' ] ) || options [ 'maintainAspectRatio' ] ) {
74
+ if ( ( this . options . maintainAspectRatio && options [ 'aspectRatio' ] ) || 'maintainAspectRatio' in options ) {
75
75
this . setCropperScaledMinSize ( ) ;
76
76
this . setCropperScaledMaxSize ( ) ;
77
77
if ( this . options . maintainAspectRatio && ( this . options . resetCropOnAspectRatioChange || ! this . aspectRatioIsCorrect ( ) ) ) {
You can’t perform that action at this time.
0 commit comments