Skip to content

Fix diff panel transparency when toggled#16

Merged
nicosuave merged 1 commit intomainfrom
nicosuave/fix-diff-panel-transparent
Feb 26, 2026
Merged

Fix diff panel transparency when toggled#16
nicosuave merged 1 commit intomainfrom
nicosuave/fix-diff-panel-transparent

Conversation

@nicosuave
Copy link
Member

Summary

  • GitDiffMainView had no background color, so toggling the diff panel on showed a transparent area (revealing content beneath the window) instead of the expected "No diff" placeholder or diff content.
  • Added .background(Color(nsColor: .controlBackgroundColor)) to the view's outermost frame so it's always opaque.

The diff view had no background, so toggling the panel on showed a transparent area instead of the "No diff" text.
@nicosuave nicosuave merged commit f6819ac into main Feb 26, 2026
116 of 118 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant