aboutsummaryrefslogtreecommitdiff
path: root/ext/mixed/js/text-scanner.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-09-05 21:44:05 -0400
committerGitHub <noreply@github.com>2020-09-05 21:44:05 -0400
commit55770934f807d94d35a99e739b2ee326bfd4afbd (patch)
treeb52c3cb9412ef16deffc5bfc17ebac5f9a32ec40 /ext/mixed/js/text-scanner.js
parent2f8408ffcc0be1321bcd105e7675a1210b8f7df8 (diff)
Fix touch input always being disabled (#772)
Diffstat (limited to 'ext/mixed/js/text-scanner.js')
-rw-r--r--ext/mixed/js/text-scanner.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mixed/js/text-scanner.js b/ext/mixed/js/text-scanner.js
index 2aeac565..0e295585 100644
--- a/ext/mixed/js/text-scanner.js
+++ b/ext/mixed/js/text-scanner.js
@@ -115,7 +115,7 @@ class TextScanner extends EventDispatcher {
this._delay = delay;
}
if (typeof touchInputEnabled === 'boolean') {
- this._touchInputEnabled = false;
+ this._touchInputEnabled = touchInputEnabled;
}
if (typeof scanLength === 'number') {
this._scanLength = scanLength;