Skip to content

Commit

Permalink
fixes keys cleanup method according to code-review
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCodeTherapy committed Jul 19, 2023
1 parent b92ed5e commit 0090c9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/input/KeyInputManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export class KeyInputManager {
}

private handleUnfocus(_event: FocusEvent): void {
this.keys = new Map<string, boolean>();
this.keys.clear();
}

private onKeyDown(event: KeyboardEvent): void {
Expand Down

0 comments on commit 0090c9a

Please sign in to comment.