Skip to content

Commit 492fccd

Browse files
committed
feat: add 3:2 to valid aspect ratio list
1 parent a567933 commit 492fccd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Classes/Utils/Helpers.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,7 @@ public static string GetAspectRatio(int width, int height) {
702702
}
703703

704704
public static bool IsValidAspectRatio(int width, int height) {
705-
return new[] { "64:27", "43:18", "21:9", "16:10", "16:9", "4:3", "32:9" }.Contains(GetAspectRatio(width, height));
705+
return new[] { "64:27", "43:18", "21:9", "16:10", "16:9", "4:3", "32:9", "3:2" }.Contains(GetAspectRatio(width, height));
706706
}
707707

708708
public static IEnumerable<(T item, int index)> WithIndex<T>(this IEnumerable<T> source) {

0 commit comments

Comments
 (0)