diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-09-05 21:44:05 -0400 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-09-06 11:02:08 -0400 |
commit | d3e75815e3ecb866e96563f406a504d5a5141d54 (patch) | |
tree | bcda569b3a67261269a9dc6b667487adddeed630 /ext/mixed/js/text-scanner.js | |
parent | 74edf462ab18e851e1e9ff0535b9979909dd98f7 (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.js | 2 |
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; |