adding 5:4 and 4:5 crop aspect ratios

This commit is contained in:
tibbi 2019-12-20 22:25:37 +01:00
parent 679a469a33
commit b60ee07ea4

View file

@ -189,11 +189,14 @@ class NewEditActivity : 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_5_4", 5, 4, false))
add(CropAspectAsset("my_crop_4_5", 4, 5, false))
}
settingsList.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_5_4"), CropAspectItem("my_crop_4_5")))
}
settingsList.getSettingsModel(UiConfigFilter::class.java).setFilterList(