fix(core): update
This commit is contained in:
@@ -174,10 +174,10 @@ export class Keyboard {
|
||||
this.pressedKeys.delete(event.keyCode);
|
||||
};
|
||||
|
||||
private areAllKeysPressed(combo: number[]) {
|
||||
private areAllKeysPressed(keysArg: Key[]) {
|
||||
let result = true;
|
||||
|
||||
combo.forEach((key) => {
|
||||
keysArg.forEach((key) => {
|
||||
if (!this.pressedKeys.has(key)) {
|
||||
result = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user