From 7df7e1b2bf475edd771a73a950004ab8d5f85ccb Mon Sep 17 00:00:00 2001 From: Kuuuube <61125188+Kuuuube@users.noreply.github.com> Date: Sun, 14 Apr 2024 12:48:25 -0400 Subject: Add scanOnTouchTap and improve touch scanning defaults (#791) * Add scanOnTouchTap * Update version to 30 * Cleanup if statement --- types/ext/settings.d.ts | 1 + types/ext/text-scanner.d.ts | 2 ++ 2 files changed, 3 insertions(+) (limited to 'types') diff --git a/types/ext/settings.d.ts b/types/ext/settings.d.ts index 45466c3d..8075476b 100644 --- a/types/ext/settings.d.ts +++ b/types/ext/settings.d.ts @@ -211,6 +211,7 @@ export type ScanningInputOptions = { scanOnTouchMove: boolean; scanOnTouchPress: boolean; scanOnTouchRelease: boolean; + scanOnTouchTap: boolean; scanOnPenMove: boolean; scanOnPenHover: boolean; scanOnPenReleaseHover: boolean; diff --git a/types/ext/text-scanner.d.ts b/types/ext/text-scanner.d.ts index 8acc780d..21ca8f24 100644 --- a/types/ext/text-scanner.d.ts +++ b/types/ext/text-scanner.d.ts @@ -60,6 +60,7 @@ export type InputOptions = { scanOnTouchMove: boolean; scanOnTouchPress: boolean; scanOnTouchRelease: boolean; + scanOnTouchTap: boolean; scanOnPenMove: boolean; scanOnPenHover: boolean; scanOnPenReleaseHover: boolean; @@ -84,6 +85,7 @@ export type InputConfig = { scanOnTouchMove: boolean; scanOnTouchPress: boolean; scanOnTouchRelease: boolean; + scanOnTouchTap: boolean; scanOnPenMove: boolean; scanOnPenHover: boolean; scanOnPenReleaseHover: boolean; -- cgit v1.2.3