aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-09-27 11:46:37 -0400
committerGitHub <noreply@github.com>2020-09-27 11:46:37 -0400
commitcdd649ea3d3c933b571db1b00bc40162b4da8c01 (patch)
treed64e8462660f953b003871c6e7976141577fe23c /test
parent73dd578821d1373d4504778318e2e2f26b79a80e (diff)
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
Diffstat (limited to 'test')
-rw-r--r--test/test-options-util.js12
1 files changed, 9 insertions, 3 deletions
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
}
}
]