Merge pull request #11587 from druiz17/stylus-fix

Fix Stylus in Tablet + Grab with Hand Results in the other Stylus being Dysfunctional
This commit is contained in:
Brad Hefta-Gaub 2017-10-13 12:42:26 -07:00 committed by GitHub
commit 9f3331ec19

View file

@ -264,6 +264,8 @@ Script.include("/~/system/libraries/controllers.js");
if (!this.stylusTip.valid || this.overlayLaserActive(controllerData) || this.otherModuleNeedsToRun(controllerData)) {
this.pointFinger(false);
this.hideStylus();
this.stylusTouchingTarget = false;
this.relinquishTouchFocus();
return false;
}