aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2023-02-28 22:17:39 +0100
committerVendicated <vendicated@riseup.net>2023-02-28 22:17:39 +0100
commit4918d699d56ce29168b50965f288aaa681d97b27 (patch)
tree3a7dd3ccdd037bce1e4911936bcdf3292b86d654 /src/components
parent5ec517875e0725b66805b939e5379c23a5e40ceb (diff)
downloadVencord-4918d699d56ce29168b50965f288aaa681d97b27.tar.gz
Vencord-4918d699d56ce29168b50965f288aaa681d97b27.tar.bz2
Vencord-4918d699d56ce29168b50965f288aaa681d97b27.zip
Windows: Add Option to use native titlebar ~ Closes #537
Diffstat (limited to 'src/components')
-rw-r--r--src/components/VencordSettings/VencordTab.tsx8
1 files changed, 6 insertions, 2 deletions
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",