mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-05-09 20:40:33 +02:00
close tablet bug fix
This commit is contained in:
parent
5c55b86be6
commit
d5427f8722
1 changed files with 3 additions and 2 deletions
|
@ -813,7 +813,6 @@ function MyController(hand) {
|
||||||
|
|
||||||
this.update = function(deltaTime, timestamp) {
|
this.update = function(deltaTime, timestamp) {
|
||||||
this.updateSmoothedTrigger();
|
this.updateSmoothedTrigger();
|
||||||
this.homeButtonTouched = false;
|
|
||||||
// If both trigger and grip buttons squeezed and nothing is held, rescale my avatar!
|
// If both trigger and grip buttons squeezed and nothing is held, rescale my avatar!
|
||||||
if (this.hand === RIGHT_HAND && this.state === STATE_SEARCHING &&
|
if (this.hand === RIGHT_HAND && this.state === STATE_SEARCHING &&
|
||||||
this.getOtherHandController().state === STATE_SEARCHING) {
|
this.getOtherHandController().state === STATE_SEARCHING) {
|
||||||
|
@ -1178,7 +1177,9 @@ function MyController(hand) {
|
||||||
if (this.handleStylusOnWebOverlay(rayPickInfo)) {
|
if (this.handleStylusOnWebOverlay(rayPickInfo)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
} else {
|
||||||
|
this.homeButtonTouched = false;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
this.hideStylus();
|
this.hideStylus();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue