use 1000x1000 for image height in avatar cropper (#4453)
parent
5c31859f7b
commit
89d99a8701
|
@ -181,8 +181,8 @@ export function StepProfile() {
|
||||||
image = await openCropper({
|
image = await openCropper({
|
||||||
mediaType: 'photo',
|
mediaType: 'photo',
|
||||||
cropperCircleOverlay: true,
|
cropperCircleOverlay: true,
|
||||||
height: image.height,
|
height: 1000,
|
||||||
width: image.width,
|
width: 1000,
|
||||||
path: image.path,
|
path: image.path,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
@ -303,8 +303,8 @@ let EditableUserAvatar = ({
|
||||||
const croppedImage = await openCropper({
|
const croppedImage = await openCropper({
|
||||||
mediaType: 'photo',
|
mediaType: 'photo',
|
||||||
cropperCircleOverlay: true,
|
cropperCircleOverlay: true,
|
||||||
height: item.height,
|
height: 1000,
|
||||||
width: item.width,
|
width: 1000,
|
||||||
path: item.path,
|
path: item.path,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue