mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 07:12:40 +02:00
fixing loading bar visual
This commit is contained in:
parent
1a95ee2b31
commit
812373cdab
1 changed files with 2 additions and 1 deletions
|
@ -274,6 +274,7 @@
|
|||
previousCameraMode = Camera.mode;
|
||||
Camera.mode = "first person";
|
||||
updateProgressBar(0.0);
|
||||
scaleInterstitialPage(MyAvatar.sensorToWorldScale);
|
||||
timer = Script.setTimeout(update, 2000);
|
||||
}
|
||||
}
|
||||
|
@ -482,7 +483,7 @@
|
|||
var end = 0;
|
||||
var xLocalPosition = (progressPercentage * (end - start)) + start;
|
||||
var properties = {
|
||||
localPosition: { x: xLocalPosition, y: -0.91, z: 0.0 },
|
||||
localPosition: { x: xLocalPosition, y: (HMD.active ? -0.93 : -0.91), z: 0.0 },
|
||||
dimensions: {
|
||||
x: progress,
|
||||
y: 0.3
|
||||
|
|
Loading…
Reference in a new issue