diff options
| author | Terry Truong <terry06890@gmail.com> | 2022-06-30 14:44:10 +1000 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2022-06-30 14:44:10 +1000 |
| commit | 5af08938d47504cfc45d125b2ae9898534a1e5a1 (patch) | |
| tree | e137a40fde6821b62533d941bb836309497d3335 /src/lib.ts | |
| parent | 5412fb6a567bd573bfd72d7f2ec471a5f2cbb6a6 (diff) | |
Add ui-option touchDevice
Diffstat (limited to 'src/lib.ts')
| -rw-r--r-- | src/lib.ts | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -108,8 +108,8 @@ export type UiOptions = { searchJumpMode: boolean, tutorialSkip: boolean, disabledActions: Set<Action>, - useDblClick: boolean, disableShortcuts: boolean, + touchDevice: boolean, }; // Option defaults export function getDefaultLytOpts(): LayoutOptions { @@ -169,8 +169,8 @@ export function getDefaultUiOpts(lytOpts: LayoutOptions): UiOptions { searchJumpMode: false, tutorialSkip: false, disabledActions: new Set() as Set<Action>, - useDblClick: onTouchDevice(), disableShortcuts: false, + touchDevice: onTouchDevice(), }; } // Used in Settings.vue, and when saving to localStorage |
