From cdd649ea3d3c933b571db1b00bc40162b4da8c01 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sun, 27 Sep 2020 11:46:37 -0400 Subject: Add scan on touch move and prevent touch scroll options (#871) * Add scanOnTouchMove/preventTouchScrolling scanning input options * Add settings controls * Support scanOnTouchMove in TextScanner * Support preventTouchScrolling in TextScanner --- test/test-options-util.js | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'test') diff --git a/test/test-options-util.js b/test/test-options-util.js index b1b6dab7..c8eb3b16 100644 --- a/test/test-options-util.js +++ b/test/test-options-util.js @@ -333,11 +333,13 @@ function createProfileOptionsUpdatedTestData1() { }, options: { showAdvanced: false, + scanOnTouchMove: true, scanOnPenHover: true, scanOnPenPress: true, scanOnPenRelease: false, searchTerms: true, - searchKanji: true + searchKanji: true, + preventTouchScrolling: true } }, { @@ -350,11 +352,13 @@ function createProfileOptionsUpdatedTestData1() { }, options: { showAdvanced: false, + scanOnTouchMove: true, scanOnPenHover: true, scanOnPenPress: true, scanOnPenRelease: false, searchTerms: true, - searchKanji: true + searchKanji: true, + preventTouchScrolling: true } }, { @@ -367,11 +371,13 @@ function createProfileOptionsUpdatedTestData1() { }, options: { showAdvanced: false, + scanOnTouchMove: true, scanOnPenHover: true, scanOnPenPress: true, scanOnPenRelease: false, searchTerms: true, - searchKanji: true + searchKanji: true, + preventTouchScrolling: true } } ] -- cgit v1.2.3