mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 18:36:45 +02:00
Make "..." expand tablet per display hand rather than centered
This commit is contained in:
parent
f4a8dc49e9
commit
dc86230e40
1 changed files with 2 additions and 4 deletions
|
@ -70,8 +70,7 @@
|
||||||
proxyHand,
|
proxyHand,
|
||||||
PROXY_EXPAND_HANDLES = [
|
PROXY_EXPAND_HANDLES = [
|
||||||
{ x: 0.5, y: -0.4, z: 0 },
|
{ x: 0.5, y: -0.4, z: 0 },
|
||||||
{ x: -0.5, y: -0.4, z: 0 },
|
{ x: -0.5, y: -0.4, z: 0 }
|
||||||
{ x: 0, y: -0.4, z: 0 }
|
|
||||||
],
|
],
|
||||||
proxyExpandHand,
|
proxyExpandHand,
|
||||||
proxyExpandLocalPosition,
|
proxyExpandLocalPosition,
|
||||||
|
@ -111,7 +110,6 @@
|
||||||
// Hands
|
// Hands
|
||||||
LEFT_HAND = 0,
|
LEFT_HAND = 0,
|
||||||
RIGHT_HAND = 1,
|
RIGHT_HAND = 1,
|
||||||
NO_HAND = 2,
|
|
||||||
HAND_NAMES = ["LeftHand", "RightHand"],
|
HAND_NAMES = ["LeftHand", "RightHand"],
|
||||||
|
|
||||||
DEBUG = false;
|
DEBUG = false;
|
||||||
|
@ -222,7 +220,7 @@
|
||||||
case EXPAND_MESSAGE:
|
case EXPAND_MESSAGE:
|
||||||
// Expand tablet;
|
// Expand tablet;
|
||||||
playSound(clickSound, CLICK_VOLUME);
|
playSound(clickSound, CLICK_VOLUME);
|
||||||
setState(PROXY_EXPANDING, NO_HAND);
|
setState(PROXY_EXPANDING, proxyHand);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue