mirror of
https://github.com/zadam/trilium.git
synced 2025-10-28 16:56:34 +01:00
client/settings/disable backdrop effects: add an option to enable or disable backdrop effects
This commit is contained in:
@@ -65,6 +65,7 @@ const ALLOWED_OPTIONS = new Set<OptionNames>([
|
|||||||
"monthlyBackupEnabled",
|
"monthlyBackupEnabled",
|
||||||
"motionEnabled",
|
"motionEnabled",
|
||||||
"shadowsEnabled",
|
"shadowsEnabled",
|
||||||
|
"backdropEffectsEnabled",
|
||||||
"maxContentWidth",
|
"maxContentWidth",
|
||||||
"compressImages",
|
"compressImages",
|
||||||
"downloadImagesAutomatically",
|
"downloadImagesAutomatically",
|
||||||
|
|||||||
@@ -154,6 +154,7 @@ const defaultOptions: DefaultOption[] = [
|
|||||||
},
|
},
|
||||||
{ name: "motionEnabled", value: "true", isSynced: false },
|
{ name: "motionEnabled", value: "true", isSynced: false },
|
||||||
{ name: "shadowsEnabled", value: "true", isSynced: false },
|
{ name: "shadowsEnabled", value: "true", isSynced: false },
|
||||||
|
{ name: "backdropEffectsEnabled", value: "true", isSynced: false },
|
||||||
|
|
||||||
|
|
||||||
// Internationalization
|
// Internationalization
|
||||||
|
|||||||
@@ -95,6 +95,7 @@ export interface OptionDefinitions extends KeyboardShortcutsOptions<KeyboardActi
|
|||||||
splitEditorOrientation: "horziontal" | "vertical";
|
splitEditorOrientation: "horziontal" | "vertical";
|
||||||
motionEnabled: boolean;
|
motionEnabled: boolean;
|
||||||
shadowsEnabled: boolean;
|
shadowsEnabled: boolean;
|
||||||
|
backdropEffectsEnabled: boolean;
|
||||||
codeNoteTheme: string;
|
codeNoteTheme: string;
|
||||||
|
|
||||||
initialized: boolean;
|
initialized: boolean;
|
||||||
|
|||||||
Reference in New Issue
Block a user