mirror of
https://github.com/zadam/trilium.git
synced 2025-11-05 04:45:47 +01:00
client/settings/ui-performance-settings: improve code formatting
This commit is contained in:
@@ -22,7 +22,6 @@ export default class RootContainer extends FlexContainer<BasicWidget> {
|
|||||||
this.id("root-widget");
|
this.id("root-widget");
|
||||||
this.css("height", "100dvh");
|
this.css("height", "100dvh");
|
||||||
this.originalViewportHeight = getViewportHeight();
|
this.originalViewportHeight = getViewportHeight();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
render(): JQuery<HTMLElement> {
|
render(): JQuery<HTMLElement> {
|
||||||
|
|||||||
@@ -251,7 +251,6 @@ function Performance() {
|
|||||||
const [ shadowsEnabled, setShadowsEnabled ] = useTriliumOptionBool("shadowsEnabled");
|
const [ shadowsEnabled, setShadowsEnabled ] = useTriliumOptionBool("shadowsEnabled");
|
||||||
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">
|
<FormGroup name="motion-enabled">
|
||||||
<FormCheckbox
|
<FormCheckbox
|
||||||
|
|||||||
Reference in New Issue
Block a user