mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 17:49:27 +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;
|
previousCameraMode = Camera.mode;
|
||||||
Camera.mode = "first person";
|
Camera.mode = "first person";
|
||||||
updateProgressBar(0.0);
|
updateProgressBar(0.0);
|
||||||
|
scaleInterstitialPage(MyAvatar.sensorToWorldScale);
|
||||||
timer = Script.setTimeout(update, 2000);
|
timer = Script.setTimeout(update, 2000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -482,7 +483,7 @@
|
||||||
var end = 0;
|
var end = 0;
|
||||||
var xLocalPosition = (progressPercentage * (end - start)) + start;
|
var xLocalPosition = (progressPercentage * (end - start)) + start;
|
||||||
var properties = {
|
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: {
|
dimensions: {
|
||||||
x: progress,
|
x: progress,
|
||||||
y: 0.3
|
y: 0.3
|
||||||
|
|
Loading…
Reference in a new issue