From d5427f87223c942f09fa4501b4589b48cd7bd90b Mon Sep 17 00:00:00 2001 From: Dante Ruiz Date: Mon, 23 Jan 2017 17:33:33 +0000 Subject: [PATCH] close tablet bug fix --- scripts/system/controllers/handControllerGrab.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/system/controllers/handControllerGrab.js b/scripts/system/controllers/handControllerGrab.js index 8734c49b4f..66c790989e 100644 --- a/scripts/system/controllers/handControllerGrab.js +++ b/scripts/system/controllers/handControllerGrab.js @@ -813,7 +813,6 @@ function MyController(hand) { this.update = function(deltaTime, timestamp) { this.updateSmoothedTrigger(); - this.homeButtonTouched = false; // If both trigger and grip buttons squeezed and nothing is held, rescale my avatar! if (this.hand === RIGHT_HAND && this.state === STATE_SEARCHING && this.getOtherHandController().state === STATE_SEARCHING) { @@ -1178,7 +1177,9 @@ function MyController(hand) { if (this.handleStylusOnWebOverlay(rayPickInfo)) { return; } - } + } else { + this.homeButtonTouched = false; + } } else { this.hideStylus(); }