mirror of
https://github.com/zadam/trilium.git
synced 2025-11-09 21:30:53 +08:00
client/settings/disable backdrop effects: add the corresponding checkbox in the Appearance settings page
This commit is contained in:
parent
94ddad3c49
commit
82e076378c
2 changed files with 9 additions and 1 deletions
|
|
@ -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>
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue