From d3e75815e3ecb866e96563f406a504d5a5141d54 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sat, 5 Sep 2020 21:44:05 -0400 Subject: Fix touch input always being disabled (#772) --- ext/mixed/js/text-scanner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/mixed') 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; -- cgit v1.2.3