From 01f8b7e45805dd904c39240df963a3c6ec5ef32b Mon Sep 17 00:00:00 2001 From: Yuvraj P Date: Wed, 31 Jul 2024 13:19:19 -0400 Subject: [PATCH] fix(mobile): Crop presets break crop rectangle #11462 (#11467) Fix Issue 11464 --- mobile/lib/pages/editing/crop.page.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/mobile/lib/pages/editing/crop.page.dart b/mobile/lib/pages/editing/crop.page.dart index 315ec7ef19..8a21cdf769 100644 --- a/mobile/lib/pages/editing/crop.page.dart +++ b/mobile/lib/pages/editing/crop.page.dart @@ -192,6 +192,7 @@ class _AspectRatioButton extends StatelessWidget { : Theme.of(context).iconTheme.color, ), onPressed: () { + cropController.crop = const Rect.fromLTRB(0.1, 0.1, 0.9, 0.9); aspectRatio.value = ratio; cropController.aspectRatio = ratio; },