Workspace not appearing when local data existed
This commit is contained in:
1 parent
9fed546b1c
commit
ba554adb0c
2 files changed
+2
-2
No files matched your search
@@ -849,7 +849,7 @@ function newStrategyPart () {
|
||||
browserCanvasContext.arc(visiblePosition.x, visiblePosition.y, VISIBLE_RADIUS, 0, Math.PI * 2, true)
|
||||
browserCanvasContext.closePath()
|
||||
|
||||
browserCanvasContext.strokeStyle = 'rgba(' + UI_COLOR.TURQUOISE + ', ' + OPACITY + ')'
|
||||
browserCanvasContext.strokeStyle = 'rgba(' + UI_COLOR.LIGHT_GREY + ', ' + OPACITY + ')'
|
||||
|
||||
browserCanvasContext.lineWidth = 10
|
||||
browserCanvasContext.setLineDash([4, 20])
|
||||
|
||||
@@ -67,7 +67,7 @@ function newWorkspace () {
|
||||
initializeLoadingFromStrategizer()
|
||||
} else {
|
||||
workspaceNode = JSON.parse(savedWorkspace)
|
||||
|
||||
functionLibraryPartsFromNodes.createPartFromNode(workspaceNode, undefined, undefined)
|
||||
for (let i = 0; i < workspaceNode.rootNodes.length; i++) {
|
||||
let rootNode = workspaceNode.rootNodes[i]
|
||||
functionLibraryPartsFromNodes.createPartFromNode(rootNode, undefined, undefined)
|
||||
|
||||
Reference in new issue
Block a user