From dc86230e40bda530ec7ceda38c9a432f5b661448 Mon Sep 17 00:00:00 2001 From: David Rowe Date: Tue, 21 Aug 2018 10:33:13 +1200 Subject: [PATCH] Make "..." expand tablet per display hand rather than centered --- scripts/system/miniTablet.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/system/miniTablet.js b/scripts/system/miniTablet.js index a16ae50b29..f7a262b9c4 100644 --- a/scripts/system/miniTablet.js +++ b/scripts/system/miniTablet.js @@ -70,8 +70,7 @@ proxyHand, PROXY_EXPAND_HANDLES = [ { x: 0.5, y: -0.4, z: 0 }, - { x: -0.5, y: -0.4, z: 0 }, - { x: 0, y: -0.4, z: 0 } + { x: -0.5, y: -0.4, z: 0 } ], proxyExpandHand, proxyExpandLocalPosition, @@ -111,7 +110,6 @@ // Hands LEFT_HAND = 0, RIGHT_HAND = 1, - NO_HAND = 2, HAND_NAMES = ["LeftHand", "RightHand"], DEBUG = false; @@ -222,7 +220,7 @@ case EXPAND_MESSAGE: // Expand tablet; playSound(clickSound, CLICK_VOLUME); - setState(PROXY_EXPANDING, NO_HAND); + setState(PROXY_EXPANDING, proxyHand); break; } }