diff options
author | dan <dan.abramov@gmail.com> | 2023-09-08 16:30:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-08 16:30:00 +0100 |
commit | 44a00e1b7e59ef76c103dcc5439e205c75888aba (patch) | |
tree | 3cd5b530400530084e0bb98fc2416cab6488f897 /src | |
parent | c10cb8e97276f644601e6939f5319bb00ffcbdbf (diff) | |
download | voidsky-44a00e1b7e59ef76c103dcc5439e205c75888aba.tar.zst |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/state/models/media/image.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state/models/media/image.ts b/src/state/models/media/image.ts index dd5b36170..844ecb778 100644 --- a/src/state/models/media/image.ts +++ b/src/state/models/media/image.ts @@ -32,7 +32,7 @@ export class ImageModel implements Omit<RNImage, 'size'> { // Web manipulation prev?: RNImage attributes: ImageManipulationAttributes = { - aspectRatio: '1:1', + aspectRatio: 'None', scale: 1, flipHorizontal: false, flipVertical: false, |