2 files changed
+7
-6
No files matched your search
@@ -72,7 +72,7 @@ function newCockpitSpace() {
|
||||
storage = JSON.parse(localStorage)
|
||||
thisObject.container.frame.position.y = storage.spacePosition
|
||||
} else {
|
||||
INITIAL_POSITION = 55
|
||||
INITIAL_POSITION = browserCanvas.height - 55
|
||||
thisObject.container.frame.position.y = browserCanvas.height * INITIAL_POSITION / 100 - COCKPIT_SPACE_HEIGHT
|
||||
}
|
||||
} else {
|
||||
@@ -109,7 +109,7 @@ function newCockpitSpace() {
|
||||
}
|
||||
|
||||
function toTop() {
|
||||
thisObject.container.frame.position.y = COCKPIT_SPACE_HEIGHT
|
||||
thisObject.container.frame.position.y = TOP_SPACE_HEIGHT
|
||||
}
|
||||
|
||||
function toBottom() {
|
||||
|
||||
@@ -60,7 +60,7 @@ function newTutorialSpace() {
|
||||
let positionAtNodeCounter = 0
|
||||
let timeMachineKeyPressedCounter = 0
|
||||
let keyPressedCounter = 0
|
||||
let sliderPositioned = 0
|
||||
let sliderCounter = 0
|
||||
let changeNodeConfigCounter = 0
|
||||
let changeNodeConfigCounterWithEval = 0
|
||||
let documentationCounter = 0
|
||||
@@ -314,8 +314,9 @@ function newTutorialSpace() {
|
||||
*/
|
||||
return
|
||||
}
|
||||
if (sliderPositioned === false) {
|
||||
sliderPositioned = true
|
||||
sliderCounter++
|
||||
if (sliderCounter === 10 || sliderCounter === 100) {
|
||||
|
||||
switch (config.slider) {
|
||||
case "toTop": {
|
||||
/*
|
||||
@@ -791,7 +792,7 @@ function newTutorialSpace() {
|
||||
}
|
||||
|
||||
function resetSlider() {
|
||||
sliderPositioned = false
|
||||
sliderCounter = 0
|
||||
}
|
||||
|
||||
function changeNodeConfig() {
|
||||
|
||||
Reference in new issue
Block a user