Cleanup keyboard manager

This commit is contained in:
Dennis Eichhorn 2017-11-16 17:11:40 +01:00
parent 9c90aa5374
commit 0d17a93d66

View File

@ -87,6 +87,7 @@
const actions = this.elements[element],
length = actions.length,
keyLength = this.down.length;
let match = false;
for (let i = 0; i < length; i++) {
@ -95,9 +96,9 @@
match = false;
break;
} else {
match = true;
}
}
match = true;
}
if (match) {