Fixed Keyboard warning

This commit is contained in:
Jeff 2017-09-26 20:29:34 -07:00 committed by Jeff Parsons
commit 585a6bdeff
9 changed files with 9 additions and 9 deletions

View file

@ -346,7 +346,7 @@ class Keyboard extends Component {
if (simCode == Keys.SHIFTED_KEYCODES[code]) {
simCode = +code;
code = Keys.NONASCII_KEYCODES[code];
if (code) simCode = code;
if (code) simCode = +code;
break;
}
}