mirror of
https://github.com/zadam/trilium.git
synced 2025-10-26 07:46:30 +01:00
client/settings/disable backdrop effects: add the corresponding checkbox in the Appearance settings page
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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>
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user