chore(client): address requested changes

This commit is contained in:
Elian Doran 2026-01-27 15:56:57 +02:00
parent 3c8a066f76
commit 51131433d3
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,7 @@ function initFullScreenDetection(currentWindow: Electron.BrowserWindow) {
}
function initTransparencyEffects(style: CSSStyleDeclaration, currentWindow: Electron.BrowserWindow) {
const material = style.getPropertyValue("--background-material");
const material = style.getPropertyValue("--background-material").trim();
if (window.glob.platform === "win32") {
const bgMaterialOptions = ["auto", "none", "mica", "acrylic", "tabbed"] as const;
const foundBgMaterialOption = bgMaterialOptions.find((bgMaterialOption) => material === bgMaterialOption);

View File

@ -41,7 +41,7 @@ body.mobile {
/* #region Mica */
/* Quirk: --background-material is read before "theme-supports-background-effects" class
* is applied. Apply the matterial even if the theme doesn't support it. */
* is applied. Apply the material even if the theme doesn't support it. */
body.background-effects.platform-win32 {
&.layout-vertical {
--background-material: mica;