Skip to content

Commit

Permalink
fix(cropper): fix grid in rounded cropper
Browse files Browse the repository at this point in the history
  • Loading branch information
Enlcxx committed May 17, 2024
1 parent 7c39f24 commit b2b9e5b
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions src/lib/image-cropper/image-cropper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,18 +259,6 @@ export class ImgCropperConfig {
* otherwise this will bring problems when cropping.
*/
responsiveArea?: boolean;
// /**
// * Default: null
// * If you use this option, the `width` and `height` options of
// * the crop area will be ignored.
// * You can use: 1/1, 3/1 ...
// */
// aspectRatio?: number;

/**
* Auto resize area
*/
dynamicArea?: boolean;

}

Expand Down Expand Up @@ -1669,6 +1657,10 @@ export class LyCropperArea implements WithStyles, OnDestroy {
bottom: ${pos}%
transform: translate(4px, 4px)
}
${$$.grid} {
border-radius: 50%
overflow: hidden
}
}`;
},
coerceBooleanProperty
Expand Down

0 comments on commit b2b9e5b

Please sign in to comment.