From 6c4afa52a3ec2877a91b21e1d5e05c03d3d25cb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aubrey/=E3=82=AA=E3=83=BC=E3=83=96=E3=83=AA=E3=83=BC?= <44238627+aubymori@users.noreply.github.com> Date: Wed, 25 Oct 2023 15:49:41 -0500 Subject: [PATCH] Fix titlebar duplication with native Windows titlebar (#1890) Co-authored-by: V --- src/Vencord.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Vencord.ts b/src/Vencord.ts index 508ac50a..83c69e73 100644 --- a/src/Vencord.ts +++ b/src/Vencord.ts @@ -136,7 +136,7 @@ if (IS_DISCORD_DESKTOP && Settings.winNativeTitleBar && navigator.platform.toLow document.addEventListener("DOMContentLoaded", () => { document.head.append(Object.assign(document.createElement("style"), { id: "vencord-native-titlebar-style", - textContent: "[class*=titleBar-]{display: none!important}" + textContent: "[class*=titleBar]{display: none!important}" })); }, { once: true }); }