From 463ac768c202e81ce6ebab5a556d322b81970c09 Mon Sep 17 00:00:00 2001 From: neon443 <69979447+neon443@users.noreply.github.com> Date: Mon, 30 Jun 2025 12:13:25 +0100 Subject: [PATCH] fix theme column being clipped at the trailing edge --- ShhShell/Views/Themes/ThemeManagerView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ShhShell/Views/Themes/ThemeManagerView.swift b/ShhShell/Views/Themes/ThemeManagerView.swift index 4f57fcb..de741e2 100644 --- a/ShhShell/Views/Themes/ThemeManagerView.swift +++ b/ShhShell/Views/Themes/ThemeManagerView.swift @@ -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 {