Skip to content

Commit e3bfd47

Browse files
committed
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.
1 parent 80b4363 commit e3bfd47

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

macos/Sources/Features/GitDiff/GitDiffMainView.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ struct GitDiffMainView: View {
1212
var body: some View {
1313
content
1414
.frame(maxWidth: .greatestFiniteMagnitude, maxHeight: .greatestFiniteMagnitude, alignment: .topLeading)
15+
.background(Color(nsColor: .controlBackgroundColor))
1516
}
1617

1718
@ViewBuilder

0 commit comments

Comments
 (0)