refactor: change height boundry

This commit is contained in:
Slug-Boi
2024-11-25 18:24:11 +01:00
parent 2260132ba2
commit 7b506adb0a
+3 -1
View File
@@ -63,7 +63,9 @@ func newModel() mainModel {
}
}
if h > 20 {
// 25 is a magic number in terms of height but is roughly based on the element height
// of the group squares
if h > 25 {
lines = 2
} else {
lines = 1