mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-19 13:44:20 +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.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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue