This commit is contained in:
Vendicated
2026-08-24 14:47:48 +02:00
parent fd7ada3cd8
commit 667768c433
5 changed files with 6 additions and 8 deletions
@@ -66,19 +66,19 @@ const SettingsOptions: Record<string, Array<BooleanSetting | SettingsComponent>>
key: "enableMenu",
title: "Enable Menu Bar",
description: "Enables the application menu bar. Press ALT to toggle visibility.",
disabled: () => Settings.store.nativeTitleBar !== true
disabled: () => !Settings.store.nativeTitleBar
},
{
key: "enableShadow",
title: "Enable Window Shadow",
description: "Enables the window shadow. Requires a full restart.",
disabled: () => Settings.store.nativeTitleBar === true
disabled: () => Settings.store.nativeTitleBar
},
{
key: "enableRoundedCorners",
title: "Enable Rounded Corners",
description: "Enables rounded corners. Requires a full restart.",
disabled: () => Settings.store.nativeTitleBar === true
disabled: () => Settings.store.nativeTitleBar
},
{
key: "enableSplashScreen",
-2
View File
@@ -4,7 +4,6 @@
* SPDX-License-Identifier: GPL-3.0-or-later
*/
import { Settings } from "renderer/settings";
import { isMac } from "renderer/utils";
import { addPatch } from "./shared";
@@ -21,7 +20,6 @@ addPatch({
],
getPlatformClass() {
if (Settings.store.customTitleBar) return "platform-win";
if (isMac) return "platform-osx";
return "platform-web";
}
+1 -1
View File
@@ -8,7 +8,7 @@ import { Settings } from "renderer/settings";
import { addPatch } from "./shared";
if (Settings.store.customTitleBar)
if (!Settings.store.nativeTitleBar)
addPatch({
patches: [
{