feat(client): disable background effects setting if native title bar is on

This commit is contained in:
Elian Doran 2025-09-15 18:41:03 +03:00
parent a2d41247fe
commit a1ee0cb5d0
No known key found for this signature in database
2 changed files with 14 additions and 13 deletions

View File

@ -1863,7 +1863,7 @@
"native-title-bar": "Native title bar",
"native-title-bar-description": "For Windows and macOS, keeping the native title bar off makes the application look more compact. On Linux, keeping the native title bar on integrates better with the rest of the system.",
"background-effects": "Enable background effects (Windows 11 only)",
"background-effects-description": "The Mica effect adds a blurred, stylish background to app windows, creating depth and a modern look.",
"background-effects-description": "The Mica effect adds a blurred, stylish background to app windows, creating depth and a modern look. \"Native title bar\" must be disabled.",
"restart-app-button": "Restart the application to view the changes",
"zoom-factor": "Zoom factor"
},

View File

@ -238,6 +238,7 @@ function ElectronIntegration() {
<FormCheckbox
label={t("electron_integration.background-effects")}
currentValue={backgroundEffects} onChange={setBackgroundEffects}
disabled={nativeTitleBarVisible}
/>
</FormGroup>