summaryrefslogtreecommitdiff
path: root/src/macos/Sources/AppDelegate.swift
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-16 13:20:29 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:14 -0300
commit7cbd44dd1cfe97126e7fc996214e458525d2980c (patch)
treeeeb02eabaf39231dece68647129040e546aa80a2 /src/macos/Sources/AppDelegate.swift
parent3042f33df2b16b61c08d6535fba268103728dd1e (diff)
downloadpardes-7cbd44dd1cfe97126e7fc996214e458525d2980c.tar.gz
pardes-7cbd44dd1cfe97126e7fc996214e458525d2980c.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.swift2
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,