Skip to content

Commit

Permalink
TODO: When the window loses the focus, reset all the controls
Browse files Browse the repository at this point in the history
  • Loading branch information
rexim committed Jul 6, 2024
1 parent e8ae766 commit ae469be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ async function loadImageData(url: string): Promise<ImageData> {
}
}
});
// TODO: When the window loses the focus, reset all the controls
window.addEventListener("keyup", (e) => {
if (!e.repeat) {
switch (e.code) {
Expand Down

0 comments on commit ae469be

Please sign in to comment.