From 4918d699d56ce29168b50965f288aaa681d97b27 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Tue, 28 Feb 2023 22:17:39 +0100 Subject: Windows: Add Option to use native titlebar ~ Closes #537 --- src/components/VencordSettings/VencordTab.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/components') diff --git a/src/components/VencordSettings/VencordTab.tsx b/src/components/VencordSettings/VencordTab.tsx index 9880872..5ac120d 100644 --- a/src/components/VencordSettings/VencordTab.tsx +++ b/src/components/VencordSettings/VencordTab.tsx @@ -63,11 +63,15 @@ function VencordSettings() { title: "Enable React Developer Tools", note: "Requires a full restart" }, - !IS_WEB && !isWindows && { + !IS_WEB && (!isWindows ? { key: "frameless", title: "Disable the window frame", note: "Requires a full restart" - }, + } : { + key: "winNativeTitleBar", + title: "Use Windows' native title bar instead of Discord's custom one", + note: "Requires a full restart" + }), !IS_WEB && { key: "transparent", title: "Enable window transparency", -- cgit