mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-23 13:08:00 +01:00
adding a 19:9 aspect ratio crop too
This commit is contained in:
parent
58cedd24f6
commit
2c37b23e1e
1 changed files with 3 additions and 0 deletions
|
@ -177,10 +177,13 @@ class NewEditActivity : SimpleActivity() {
|
|||
settingsList.config.getAssetMap(CropAspectAsset::class.java).apply {
|
||||
add(CropAspectAsset("my_crop_1_2", 1, 2, false))
|
||||
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))
|
||||
}
|
||||
|
||||
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")))
|
||||
}
|
||||
|
||||
settingsList.getSettingsModel(UiConfigFilter::class.java).setFilterList(
|
||||
|
|
Loading…
Reference in a new issue