fix(desktop): honor vibrancy toggle for window transparency

Tie macOS window transparency to the vibrancy setting so disabling vibrancy actually removes transparent backgrounds. Clarify settings copy that full transparency changes take effect for new windows or after restart.
This commit is contained in:
Bohdan Triapitsyn
2026-04-01 16:22:54 +03:00
parent 7b0e279a30
commit 6921d75019
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2573,7 +2573,7 @@ fn apply_platform_window_config<M: Manager<tauri::Wry>>(
) -> WebviewWindowBuilder<'_, tauri::Wry, M> {
#[cfg(target_os = "macos")]
let builder = builder
.transparent(true)
.transparent(read_desktop_vibrancy_enabled())
.hidden_title(true)
.title_bar_style(tauri::TitleBarStyle::Overlay)
.traffic_light_position(tauri::Position::Logical(tauri::LogicalPosition {
@@ -538,7 +538,7 @@ export const OpenChamberVisualSettings: React.FC<OpenChamberVisualSettingsProps>
Window vibrancy
</span>
<span className="typography-meta text-muted-foreground">
Translucent window background. Disabling may reduce energy usage.
Translucent window background. Disabling may reduce energy usage. Existing windows update immediately, but full transparency changes apply to new windows or after restart.
</span>
</div>
</div>