mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-26 22:47:59 +01:00
adding 20:9 crop ratio to photos
This commit is contained in:
parent
c6640eaa9a
commit
d6e95fd13f
1 changed files with 3 additions and 0 deletions
|
@ -251,6 +251,8 @@ class NewPhotoEditActivity : SimpleActivity() {
|
||||||
add(CropAspectAsset("my_crop_2_1", 2, 1, false))
|
add(CropAspectAsset("my_crop_2_1", 2, 1, false))
|
||||||
add(CropAspectAsset("my_crop_19_9", 19, 9, false))
|
add(CropAspectAsset("my_crop_19_9", 19, 9, false))
|
||||||
add(CropAspectAsset("my_crop_9_19", 9, 19, 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_5_4", 5, 4, false))
|
||||||
add(CropAspectAsset("my_crop_4_5", 4, 5, false))
|
add(CropAspectAsset("my_crop_4_5", 4, 5, false))
|
||||||
add(CropAspectAsset("my_crop_37_18", 37, 18, false))
|
add(CropAspectAsset("my_crop_37_18", 37, 18, false))
|
||||||
|
@ -262,6 +264,7 @@ class NewPhotoEditActivity : SimpleActivity() {
|
||||||
getSettingsModel(UiConfigAspect::class.java).aspectList.apply {
|
getSettingsModel(UiConfigAspect::class.java).aspectList.apply {
|
||||||
add(ToggleAspectItem(CropAspectItem("my_crop_2_1"), CropAspectItem("my_crop_1_2")))
|
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_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_5_4"), CropAspectItem("my_crop_4_5")))
|
||||||
add(ToggleAspectItem(CropAspectItem("my_crop_37_18"), CropAspectItem("my_crop_18_37")))
|
add(ToggleAspectItem(CropAspectItem("my_crop_37_18"), CropAspectItem("my_crop_18_37")))
|
||||||
add(ToggleAspectItem(CropAspectItem("my_crop_16_10"), CropAspectItem("my_crop_10_16")))
|
add(ToggleAspectItem(CropAspectItem("my_crop_16_10"), CropAspectItem("my_crop_10_16")))
|
||||||
|
|
Loading…
Reference in a new issue