Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

Commit

Permalink
🐛 Fix #229
Browse files Browse the repository at this point in the history
  • Loading branch information
GitSquared committed Nov 22, 2018
1 parent c5c3ad7 commit 65fc70c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/classes/keyboard.class.js
Expand Up @@ -291,6 +291,12 @@ class Keyboard {
}, 100);
};
}

// See #229
key.onmouseleave = () => {
clearTimeout(key.holdTimeout);
clearInterval(key.holdInterval);
};
});
});

Expand Down

0 comments on commit 65fc70c

Please sign in to comment.