Fix touch input always being disabled (#772)
This commit is contained in:
parent
2f8408ffcc
commit
55770934f8
@ -115,7 +115,7 @@ class TextScanner extends EventDispatcher {
|
|||||||
this._delay = delay;
|
this._delay = delay;
|
||||||
}
|
}
|
||||||
if (typeof touchInputEnabled === 'boolean') {
|
if (typeof touchInputEnabled === 'boolean') {
|
||||||
this._touchInputEnabled = false;
|
this._touchInputEnabled = touchInputEnabled;
|
||||||
}
|
}
|
||||||
if (typeof scanLength === 'number') {
|
if (typeof scanLength === 'number') {
|
||||||
this._scanLength = scanLength;
|
this._scanLength = scanLength;
|
||||||
|
Loading…
Reference in New Issue
Block a user