Merge pull request #10188 from druiz17/homebutton-fix-crash

fix crashes when clicking in the homebutton
This commit is contained in:
Chris Collins 2017-04-11 09:00:35 -07:00 committed by GitHub
commit 836b4993cc

View file

@ -511,7 +511,6 @@ WebTablet.prototype.mousePressEvent = function (event) {
tablet.gotoHomeScreen();
this.setHomeButtonTexture();
}
Messages.sendLocalMessage("home", this.homeButtonID);
}
} else if (!HMD.active && (!overlayPickResults.intersects || overlayPickResults.overlayID !== this.webOverlayID)) {
this.dragging = true;