Merge pull request #2634 from Tentacule23/develop

Contribution: tutorial_previous_fix Tentacule23
This commit is contained in:
Luis Fernando Molina authored and GitHub committed 2021-11-14 15:09:52 -04:00
commit bbf19a9194
1 file changed
+3 -3
@@ -1006,7 +1006,7 @@ function newEducationTutorialSpace() {
function resumeTutorial(node) { function resumeTutorial(node) {
if (UI.projects.foundations.spaces.designSpace.workspace.isInitialized !== true) { return } if (UI.projects.foundations.spaces.designSpace.workspace.isInitialized !== true) { return }
//Testing if removing the navigationStack reset here fixes the tutorial resume issues //Testing if removing the navigationStack reset here fixes the tutorial resume issues
navigationStack = [] //navigationStack = []
node.payload.uiObject.isPlaying = true node.payload.uiObject.isPlaying = true
tutorialRootNode = node tutorialRootNode = node
currentNode = node currentNode = node
@@ -1028,7 +1028,7 @@ function newEducationTutorialSpace() {
function resumeTutorialTopic(node) { function resumeTutorialTopic(node) {
//Testing if removing the navigationStack reset here fixes the tutorial resume issues //Testing if removing the navigationStack reset here fixes the tutorial resume issues
navigationStack = [] //navigationStack = []
currentTopicNode = node currentTopicNode = node
currentNode = node currentNode = node
currentStatus = 'Playing Topic' currentStatus = 'Playing Topic'
@@ -1049,7 +1049,7 @@ function newEducationTutorialSpace() {
function resumeTutorialStep(node) { function resumeTutorialStep(node) {
//Testing if removing the navigationStack reset here fixes the tutorial resume issues //Testing if removing the navigationStack reset here fixes the tutorial resume issues
navigationStack = [] //navigationStack = []
currentStepNode = node currentStepNode = node
currentNode = node currentNode = node
currentStatus = 'Playing Step' currentStatus = 'Playing Step'