Merge pull request #11516 from druiz17/hud-module-fix

fix hudOverlayPointer logic
This commit is contained in:
Andrew Meadows 2017-10-04 08:19:53 -07:00 committed by GitHub
commit cfc4696585

View file

@ -178,7 +178,7 @@
}
var hudRayPick = controllerData.hudRayPicks[this.hand];
var point2d = this.calculateNewReticlePosition(hudRayPick.intersection);
if (!Window.isPointOnDesktopWindow(point2d) && !controllerData.triggerClicks[this.hand]) {
if (!Window.isPointOnDesktopWindow(point2d) && !this.triggerClicked) {
this.exitModule();
return false;
}