Set crop mode to None by default (#1415)

Fixes #1263

Previously, opening the crop tool had 1:1 selected by default. So if you opened it and pressed Done without changing anything, it would format the image as 1:1.

After this change, None is selected by default. So if you open the crop tool and press Done without changing anything, nothing will change.
zio/stable
dan 2023-09-08 16:30:00 +01:00 committed by GitHub
parent c10cb8e972
commit 44a00e1b7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ export class ImageModel implements Omit<RNImage, 'size'> {
// Web manipulation // Web manipulation
prev?: RNImage prev?: RNImage
attributes: ImageManipulationAttributes = { attributes: ImageManipulationAttributes = {
aspectRatio: '1:1', aspectRatio: 'None',
scale: 1, scale: 1,
flipHorizontal: false, flipHorizontal: false,
flipVertical: false, flipVertical: false,