diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-09-05 21:44:05 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-05 21:44:05 -0400 |
commit | 55770934f807d94d35a99e739b2ee326bfd4afbd (patch) | |
tree | b52c3cb9412ef16deffc5bfc17ebac5f9a32ec40 /ext/mixed/js/text-scanner.js | |
parent | 2f8408ffcc0be1321bcd105e7675a1210b8f7df8 (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 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; |