fix theme column being clipped at the trailing edge

This commit is contained in:
neon443 committed 2025-06-30 12:13:25 +01:00
1 parent c877b14ad5
commit 463ac768c2
1 file changed
+1 -1
+1 -1
View File
@@ -33,7 +33,7 @@ struct ThemeManagerView: View {
hostsManager.selectedTheme.background.suiColor.opacity(0.7)
.ignoresSafeArea(.all)
GeometryReader { geo in
let columns: Int = max(1, Int((geo.size.width + 8) / (minColWidth + spacing)))
let columns: Int = max(1, Int((geo.size.width - 2*spacing) / (minColWidth + spacing)))
let layout = Array(repeating: grid, count: columns)
ScrollView {
if hostsManager.themes.isEmpty {
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.