client/settings/disable backdrop effects: add an option to enable or disable backdrop effects

This commit is contained in:
Adorian Doran
2025-08-23 01:15:00 +03:00
parent d35dbca18b
commit 94ddad3c49
3 changed files with 3 additions and 0 deletions

View File

@@ -65,6 +65,7 @@ const ALLOWED_OPTIONS = new Set<OptionNames>([
"monthlyBackupEnabled",
"motionEnabled",
"shadowsEnabled",
"backdropEffectsEnabled",
"maxContentWidth",
"compressImages",
"downloadImagesAutomatically",

View File

@@ -154,6 +154,7 @@ const defaultOptions: DefaultOption[] = [
},
{ name: "motionEnabled", value: "true", isSynced: false },
{ name: "shadowsEnabled", value: "true", isSynced: false },
{ name: "backdropEffectsEnabled", value: "true", isSynced: false },
// Internationalization

View File

@@ -95,6 +95,7 @@ export interface OptionDefinitions extends KeyboardShortcutsOptions<KeyboardActi
splitEditorOrientation: "horziontal" | "vertical";
motionEnabled: boolean;
shadowsEnabled: boolean;
backdropEffectsEnabled: boolean;
codeNoteTheme: string;
initialized: boolean;