From 5d07c3049deb5d92f44b40faad2b519672af20cd Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 7 Dec 2024 09:58:41 +0200 Subject: [PATCH] fix(mica): mica flicker when loading classic theme --- src/services/window.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/services/window.ts b/src/services/window.ts index 1555d79ae..f15958676 100644 --- a/src/services/window.ts +++ b/src/services/window.ts @@ -132,9 +132,9 @@ function getWindowExtraOpts() { } // Window effects (Mica) - // TODO: Deduplicate with src/public/app/desktop.js#initTransparencyEffects - const isHorizontalLayout = (optionService.getOption("layoutOrientation") === "horizontal"); - extraOpts.backgroundMaterial = isHorizontalLayout ? "tabbed" : "mica"; + if (isWindows) { + extraOpts.backgroundMaterial = "auto"; + } return extraOpts; }