Tutorials done

This commit is contained in:
Luis Fernando Molina committed 2020-09-07 18:52:27 +02:00
1 parent f4e2b97f3f
commit d543d3b82c
11 files changed
+235 -59

No files matched your search

@@ -179,6 +179,12 @@ function newProtocolNode() {
}
}
if (node.payload.tutorial !== undefined) {
savedPayload.tutorial = {
status: node.payload.tutorial.status
}
}
if (includeReferencesInSavedPayload) {
/* Next for the ones that have a reference parent, we include it */
if (node.payload.referenceParent !== undefined) {
@@ -576,6 +576,12 @@ function newUiObjectsFromNodes() {
frame.radius = node.savedPayload.frame.radius
saveFrame(payload, frame)
}
if (node.savedPayload.tutorial !== undefined) {
let tutorial = {
status: node.savedPayload.tutorial.status
}
saveTutorial(payload, tutorial)
}
}
/* Now we mount the floating object where the UIOBject will be laying on top of */