Fix handshake satyhing on when release "x" if Ctrl or similar pressed

This commit is contained in:
David Rowe 2017-12-17 15:23:40 +13:00
parent 95bfacb850
commit 5e19410293

View file

@ -898,8 +898,7 @@
}
}
function keyReleaseEvent(event) {
if ((event.text.toUpperCase() === "X") && !event.isAutoRepeat && !event.isShifted && !event.isMeta && !event.isControl
&& !event.isAlt) {
if (event.text.toUpperCase() === "X" && !event.isAutoRepeat) {
updateTriggers(0.0, true, Controller.Standard.RightHand);
}
}