diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-16 13:20:29 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-09-16 13:20:29 -0300 |
| commit | 08d89762a917631e3232634ce38f34a845a93c9c (patch) | |
| tree | eeb02eabaf39231dece68647129040e546aa80a2 /src/macos/Sources/AppDelegate.swift | |
| parent | a378fb4d42d0710040eb55e73ee08e446c005986 (diff) | |
| download | pardes-08d89762a917631e3232634ce38f34a845a93c9c.tar.gz pardes-08d89762a917631e3232634ce38f34a845a93c9c.zip | |
Align macOS rendering with Linux and establish parity regressions
Diffstat (limited to 'src/macos/Sources/AppDelegate.swift')
| -rw-r--r-- | src/macos/Sources/AppDelegate.swift | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/macos/Sources/AppDelegate.swift b/src/macos/Sources/AppDelegate.swift index 107c40fd..4e91e407 100644 --- a/src/macos/Sources/AppDelegate.swift +++ b/src/macos/Sources/AppDelegate.swift @@ -478,7 +478,7 @@ final class AppDelegate: NSObject, NSApplicationDelegate, PardesViewDelegate { if let rgb = view.themeBG { backdrop.isHidden = true window.isOpaque = view.backgroundAlpha >= 1 - window.backgroundColor = NSColor( + window.backgroundColor = view.backgroundAlpha < 1 ? .clear : NSColor( srgbRed: CGFloat((rgb >> 16) & 0xFF) / 255, green: CGFloat((rgb >> 8) & 0xFF) / 255, blue: CGFloat(rgb & 0xFF) / 255, |
