no need to drag the initial workspace

This commit is contained in:
Luis Fernando Molina committed 2020-02-22 19:00:37 +01:00
1 parent fa7d55e541
commit 2e652a498f
9 files changed
+32 -189

No files matched your search

+1 -2
View File
@@ -81,8 +81,7 @@ function newWorkspace () {
let savedWorkspace = window.localStorage.getItem(CANVAS_APP_NAME + '.' + 'Workspace')
if (savedWorkspace === null) {
thisObject.workspaceNode.type = 'Workspace'
thisObject.workspaceNode.name = 'My Workspace'
thisObject.workspaceNode = getWorkspace()
} else {
thisObject.workspaceNode = JSON.parse(savedWorkspace)
}
-1
View File
@@ -1,6 +1,5 @@
let canvas
let markets
let ecosystem = newEcosystem()
let systemEventHandler
let APP_SCHEMA_MAP = new Map()
+4 -2
View File
@@ -77,8 +77,10 @@ function newChartingSpace () {
thisObject.container.finalize()
thisObject.container = undefined
thisObject.viewport.finalize()
thisObject.viewport = undefined
if (thisObject.viewport !== undefined) {
thisObject.viewport.finalize()
thisObject.viewport = undefined
}
thisObject.payload = undefined
}