adding 5:4 and 4:5 crop aspect ratios
This commit is contained in:
parent
679a469a33
commit
b60ee07ea4
1 changed files with 3 additions and 0 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue