mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 04:29:01 +01:00
client/settings/ui-performance-settings: remove form groups
This commit is contained in:
parent
f7f98aa9a3
commit
1d0503d0e4
@ -252,24 +252,20 @@ function Performance() {
|
|||||||
const [ backdropEffectsEnabled, setBackdropEffectsEnabled ] = useTriliumOptionBool("backdropEffectsEnabled");
|
const [ backdropEffectsEnabled, setBackdropEffectsEnabled ] = useTriliumOptionBool("backdropEffectsEnabled");
|
||||||
|
|
||||||
return <OptionsSection title={t("ui-performance.title")}>
|
return <OptionsSection title={t("ui-performance.title")}>
|
||||||
<FormGroup name="motion-enabled">
|
<FormCheckbox
|
||||||
<FormCheckbox
|
label={t("ui-performance.enable-motion")}
|
||||||
label={t("ui-performance.enable-motion")}
|
currentValue={motionEnabled} onChange={setMotionEnabled}
|
||||||
currentValue={motionEnabled} onChange={setMotionEnabled}
|
/>
|
||||||
/>
|
|
||||||
</FormGroup>
|
<FormCheckbox
|
||||||
<FormGroup name="shadows-enabled">
|
label={t("ui-performance.enable-shadows")}
|
||||||
<FormCheckbox
|
currentValue={shadowsEnabled} onChange={setShadowsEnabled}
|
||||||
label={t("ui-performance.enable-shadows")}
|
/>
|
||||||
currentValue={shadowsEnabled} onChange={setShadowsEnabled}
|
|
||||||
/>
|
<FormCheckbox
|
||||||
</FormGroup>
|
label={t("ui-performance.enable-backdrop-effects")}
|
||||||
<FormGroup name="backdrop-effects-enabled">
|
currentValue={backdropEffectsEnabled} onChange={setBackdropEffectsEnabled}
|
||||||
<FormCheckbox
|
/>
|
||||||
label={t("ui-performance.enable-backdrop-effects")}
|
|
||||||
currentValue={backdropEffectsEnabled} onChange={setBackdropEffectsEnabled}
|
|
||||||
/>
|
|
||||||
</FormGroup>
|
|
||||||
</OptionsSection>
|
</OptionsSection>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user