1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

Change keycode handling scope due to global keyboard support

This commit is contained in:
asmsuechan
2017-10-12 23:24:31 +09:00
parent 49243a8010
commit 15dc424ade

View File

@@ -45,7 +45,7 @@ class TopBar extends React.Component {
}) })
// When the key is an alphabet, del, enter or ctr // When the key is an alphabet, del, enter or ctr
if (e.keyCode <= 90) { if (e.keyCode <= 90 || e.keyCode >= 186 && e.keyCode <= 222) {
this.setState({ this.setState({
isAlphabet: true isAlphabet: true
}) })