Fix addition/removal of middle mouse button input not always working (#976)
This commit is contained in:
parent
21cae0e38e
commit
164c7b4375
@ -206,7 +206,7 @@ class ScanInputsSimpleController {
|
||||
const includeValues = this._splitValue(include);
|
||||
const excludeValues = this._splitValue(exclude);
|
||||
if (
|
||||
(includeValues.length === 0 || (includeValues.length === 1 && includeValues.includes('mouse2'))) &&
|
||||
(includeValues.length === 1 && includeValues[0] === 'mouse2') &&
|
||||
excludeValues.length === 0
|
||||
) {
|
||||
return i;
|
||||
|
Loading…
Reference in New Issue
Block a user