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", "monthlyBackupEnabled",
"motionEnabled", "motionEnabled",
"shadowsEnabled", "shadowsEnabled",
"backdropEffectsEnabled",
"maxContentWidth", "maxContentWidth",
"compressImages", "compressImages",
"downloadImagesAutomatically", "downloadImagesAutomatically",

View File

@@ -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

View File

@@ -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;