From 5af08938d47504cfc45d125b2ae9898534a1e5a1 Mon Sep 17 00:00:00 2001 From: Terry Truong Date: Thu, 30 Jun 2022 14:44:10 +1000 Subject: Add ui-option touchDevice --- src/lib.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib.ts') diff --git a/src/lib.ts b/src/lib.ts index 0e5917f..de8c560 100644 --- a/src/lib.ts +++ b/src/lib.ts @@ -108,8 +108,8 @@ export type UiOptions = { searchJumpMode: boolean, tutorialSkip: boolean, disabledActions: Set, - 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, - useDblClick: onTouchDevice(), disableShortcuts: false, + touchDevice: onTouchDevice(), }; } // Used in Settings.vue, and when saving to localStorage -- cgit v1.2.3