1
0
mirror of https://github.com/immich-app/immich.git synced 2024-11-24 08:52:28 +02:00

fix(mobile): Crop presets break crop rectangle #11462 (#11467)

Fix Issue 11464
This commit is contained in:
Yuvraj P 2024-07-31 13:19:19 -04:00 committed by GitHub
parent b73f7fe16f
commit 01f8b7e458
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;
},