mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
fix mouse dissapearing in desktop mode
This commit is contained in:
parent
a3bafa3c44
commit
ba50fcc509
1 changed files with 6 additions and 1 deletions
|
@ -115,7 +115,12 @@
|
|||
this.run = function(controllerData, deltaTime) {
|
||||
var now = Date.now();
|
||||
if (this.mouseActivity.expired(now) || this.triggersPressed(controllerData, now)) {
|
||||
Reticle.visible = false;
|
||||
if (!HMD.active) {
|
||||
Reticle.visible = true;
|
||||
} else {
|
||||
Reticle.visible = false;
|
||||
}
|
||||
|
||||
return ControllerDispatcherUtils.makeRunningValues(false, [], []);
|
||||
}
|
||||
this.adjustReticleDepth(controllerData);
|
||||
|
|
Loading…
Reference in a new issue