From d6e95fd13ff4d73d8175c65e4c1ad871cc963439 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 24 Oct 2021 09:12:06 +0200 Subject: [PATCH] adding 20:9 crop ratio to photos --- .../gallery/pro/activities/NewPhotoEditActivity.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/proprietary/kotlin/com/simplemobiletools/gallery/pro/activities/NewPhotoEditActivity.kt b/app/src/proprietary/kotlin/com/simplemobiletools/gallery/pro/activities/NewPhotoEditActivity.kt index f8c132069..e7ee3c5d0 100644 --- a/app/src/proprietary/kotlin/com/simplemobiletools/gallery/pro/activities/NewPhotoEditActivity.kt +++ b/app/src/proprietary/kotlin/com/simplemobiletools/gallery/pro/activities/NewPhotoEditActivity.kt @@ -251,6 +251,8 @@ class NewPhotoEditActivity : SimpleActivity() { add(CropAspectAsset("my_crop_2_1", 2, 1, false)) add(CropAspectAsset("my_crop_19_9", 19, 9, false)) add(CropAspectAsset("my_crop_9_19", 9, 19, false)) + add(CropAspectAsset("my_crop_20_9", 20, 9, false)) + add(CropAspectAsset("my_crop_9_20", 9, 20, false)) add(CropAspectAsset("my_crop_5_4", 5, 4, false)) add(CropAspectAsset("my_crop_4_5", 4, 5, false)) add(CropAspectAsset("my_crop_37_18", 37, 18, false)) @@ -262,6 +264,7 @@ class NewPhotoEditActivity : SimpleActivity() { getSettingsModel(UiConfigAspect::class.java).aspectList.apply { add(ToggleAspectItem(CropAspectItem("my_crop_2_1"), CropAspectItem("my_crop_1_2"))) add(ToggleAspectItem(CropAspectItem("my_crop_19_9"), CropAspectItem("my_crop_9_19"))) + add(ToggleAspectItem(CropAspectItem("my_crop_20_9"), CropAspectItem("my_crop_9_20"))) add(ToggleAspectItem(CropAspectItem("my_crop_5_4"), CropAspectItem("my_crop_4_5"))) add(ToggleAspectItem(CropAspectItem("my_crop_37_18"), CropAspectItem("my_crop_18_37"))) add(ToggleAspectItem(CropAspectItem("my_crop_16_10"), CropAspectItem("my_crop_10_16")))