electron app: add an option to disable smooth scrolling

This commit is contained in:
Adorian Doran
2025-09-06 19:00:45 +03:00
parent 5d8f789791
commit 97aa00e18b
6 changed files with 17 additions and 2 deletions

View File

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

View File

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