fix crashes when clicking in the homebutton

This commit is contained in:
Dante Ruiz 2017-04-11 00:25:08 +01:00
parent b9afcd3f0a
commit daf25c1fe8

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;