Skip to content

Commit 7c56961

Browse files
committed
📝 Add new config options
1 parent 19c1ee3 commit 7c56961

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

src/content/docs/config-files.mdx

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ Below are the default values of the configuration file.
9292
"zoomFactor": 1,
9393
"hideSettingsButton": false,
9494
"settingsButtonPosition": "bottom-right",
95+
"windowsInkWorkaround": true,
9596
"centerDeadZone": 50,
9697
"minParentDistance": 150,
9798
"dragThreshold": 15,
@@ -113,7 +114,8 @@ Below are the default values of the configuration file.
113114
"gamepadCloseButton": 2,
114115
"sameShortcutBehavior": "nothing",
115116
"useDefaultOsShowSettingsHotkey": true,
116-
"enableAchievements": true
117+
"enableAchievements": true,
118+
"enableAchievementNotifications": true
117119
}
118120
```
119121

@@ -266,6 +268,12 @@ If true, the settings button will be hidden if not hovered.
266268
The position of the settings button.
267269
Can be one of `'top-left'`, `'top-right'`, `'bottom-left'`, or `'bottom-right'`.
268270

271+
#### windowsInkWorkaround <Badge text="soon!" variant="tip" />
272+
273+
<small>Default value: `"windowsInkWorkaround": true`</small>
274+
275+
If true, the menu will introduce a delay of 100ms before opening on Windows to work around the issue where getting the stylus position is otherwise not possible.
276+
269277
#### centerDeadZone
270278

271279
<small>Default value: `"centerDeadZone": 50`</small>
@@ -405,6 +413,12 @@ If enabled, pressing <kbd>Command</kbd>+<kbd>,</kbd> on macOS or <kbd>Ctrl</kbd>
405413

406414
If enabled, the user will earn achievements for completing certain tasks within the menu.
407415

416+
#### enableAchievementNotifications <Badge text="soon!" variant="tip" />
417+
418+
<small>Default value: `"enableAchievementNotifications": true`</small>
419+
420+
If enabled, notifications are shown when achievements are unlocked.
421+
408422
## Menu Configuration: `menus.json`
409423

410424
This file contains the configuration of the individual menus.

0 commit comments

Comments
 (0)