Skip to content

Build your personal knowledge base with Trilium Notes

client/settings/disable backdrop effects: add the corresponding checkbox in the Appearance settings page

Adorian Doran82e076378cff
diff --git a/apps/client/src/translations/en/translation.json b/apps/client/src/translations/en/translation.json
index 986ea78dea..6a7a966c96 100644
--- a/apps/client/src/translations/en/translation.json
+++ b/apps/client/src/translations/en/translation.json
@@ -1116,7 +1116,8 @@
"ui-performance": {
"title": "Performance",
"enable-motion": "Enable transitions and animations",
- "enable-shadows": "Enable shadows"
+ "enable-shadows": "Enable shadows",
+ "enable-backdrop-effects": "Enable background effects for menus, popups and panels"
},
"ai_llm": {
"not_started": "Not started",
diff --git a/apps/client/src/widgets/type_widgets/options/appearance.tsx b/apps/client/src/widgets/type_widgets/options/appearance.tsx
index ce9dce3d4c..ba36a75d6b 100644
--- a/apps/client/src/widgets/type_widgets/options/appearance.tsx
+++ b/apps/client/src/widgets/type_widgets/options/appearance.tsx
@@ -249,6 +249,7 @@ function ElectronIntegration() {
function Performance() {
const [ motionEnabled, setMotionEnabled ] = useTriliumOptionBool("motionEnabled");
const [ shadowsEnabled, setShadowsEnabled ] = useTriliumOptionBool("shadowsEnabled");
+ const [ backdropEffectsEnabled, setBackdropEffectsEnabled ] = useTriliumOptionBool("backdropEffectsEnabled");
return <OptionsSection title={t("ui-performance.title")}>
@@ -264,6 +265,12 @@ function Performance() {
currentValue={shadowsEnabled} onChange={setShadowsEnabled}
/>
</FormGroup>
+ <FormGroup name="backdrop-effects-enabled">
+ <FormCheckbox
+ label={t("ui-performance.enable-backdrop-effects")}
+ currentValue={backdropEffectsEnabled} onChange={setBackdropEffectsEnabled}
+ />
+ </FormGroup>
</OptionsSection>
}