Merge pull request #12005 from ctrlaltdavid/21674

Fix handshake mode staying on when release "x" if Ctrl or Shift pressed
This commit is contained in:
Ken Cooke 2017-12-17 08:50:46 -08:00 committed by GitHub
commit 4d42dba300
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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);
}
}