aboutsummaryrefslogtreecommitdiff
path: root/ext/mixed
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-09-05 21:44:05 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-09-06 11:02:08 -0400
commitd3e75815e3ecb866e96563f406a504d5a5141d54 (patch)
treebcda569b3a67261269a9dc6b667487adddeed630 /ext/mixed
parent74edf462ab18e851e1e9ff0535b9979909dd98f7 (diff)
Fix touch input always being disabled (#772)
Diffstat (limited to 'ext/mixed')
-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 5a64c14a..91f1d681 100644
--- a/ext/mixed/js/text-scanner.js
+++ b/ext/mixed/js/text-scanner.js
@@ -112,7 +112,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;