From e3bfd47ab00576af13c6c4a44f79f47d44a5c4f8 Mon Sep 17 00:00:00 2001 From: Nico Ritschel Date: Thu, 26 Feb 2026 09:18:32 -0800 Subject: [PATCH] Fix diff panel transparency when toggled The diff view had no background, so toggling the panel on showed a transparent area instead of the "No diff" text. --- macos/Sources/Features/GitDiff/GitDiffMainView.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/macos/Sources/Features/GitDiff/GitDiffMainView.swift b/macos/Sources/Features/GitDiff/GitDiffMainView.swift index 782e7bd13d..5f8c96a7e1 100644 --- a/macos/Sources/Features/GitDiff/GitDiffMainView.swift +++ b/macos/Sources/Features/GitDiff/GitDiffMainView.swift @@ -12,6 +12,7 @@ struct GitDiffMainView: View { var body: some View { content .frame(maxWidth: .greatestFiniteMagnitude, maxHeight: .greatestFiniteMagnitude, alignment: .topLeading) + .background(Color(nsColor: .controlBackgroundColor)) } @ViewBuilder