This commit is contained in:
kornerr committed 2026-11-13 13:25:54 +03:00
1 parent f2487af52b
commit 04836cc58a
1 file changed
+2 -8
+2 -8
View File
@@ -2,15 +2,9 @@ private func hcmColumnCount(
width: Float,
height: Float
) -> Int {
#if os(iOS)
if height > width {
return 3
}
#endif
let reflowRatio: Float = 1.75
if width >= height * reflowRatio {
if width >= height * 1.75 {
return 8
} else if height >= width * reflowRatio {
} else if height >= width * 2.25 {
return 2
} else if height >= width * 1.5 {
return 3