Skip to content

Commit 01f8b7e

Browse files
authored
fix(mobile): Crop presets break crop rectangle #11462 (#11467)
Fix Issue 11464
1 parent b73f7fe commit 01f8b7e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: mobile/lib/pages/editing/crop.page.dart

+1
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ class _AspectRatioButton extends StatelessWidget {
192192
: Theme.of(context).iconTheme.color,
193193
),
194194
onPressed: () {
195+
cropController.crop = const Rect.fromLTRB(0.1, 0.1, 0.9, 0.9);
195196
aspectRatio.value = ratio;
196197
cropController.aspectRatio = ratio;
197198
},

0 commit comments

Comments
 (0)