From 272e2a838e1d5cd589ebc037c1c944efcb4e044b Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Fri, 8 Sep 2023 11:18:21 +0100 Subject: [PATCH] Set crop mode to None by default 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. --- src/state/models/media/image.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/state/models/media/image.ts b/src/state/models/media/image.ts index dd5b36170c..844ecb7782 100644 --- a/src/state/models/media/image.ts +++ b/src/state/models/media/image.ts @@ -32,7 +32,7 @@ export class ImageModel implements Omit { // Web manipulation prev?: RNImage attributes: ImageManipulationAttributes = { - aspectRatio: '1:1', + aspectRatio: 'None', scale: 1, flipHorizontal: false, flipVertical: false,