mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 02:16:51 +02:00
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:
commit
4d42dba300
1 changed files with 1 additions and 2 deletions
|
@ -898,8 +898,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
function keyReleaseEvent(event) {
|
function keyReleaseEvent(event) {
|
||||||
if ((event.text.toUpperCase() === "X") && !event.isAutoRepeat && !event.isShifted && !event.isMeta && !event.isControl
|
if (event.text.toUpperCase() === "X" && !event.isAutoRepeat) {
|
||||||
&& !event.isAlt) {
|
|
||||||
updateTriggers(0.0, true, Controller.Standard.RightHand);
|
updateTriggers(0.0, true, Controller.Standard.RightHand);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue