Side Panel Hidden

This commit is contained in:
Luis Fernando Molina committed 2019-05-11 19:05:27 +02:00
1 parent 2a50934f91
commit 1262897c7a
1 file changed
+7 -5
+7 -5
View File
@@ -21,14 +21,14 @@ function newStrategySpace () {
return thisObject
async function initialize () {
thisObject.sidePanel = newSidePanel()
thisObject.sidePanel.initialize()
// thisObject.sidePanel = newSidePanel()
// thisObject.sidePanel.initialize()
thisObject.investmentPlanWorkspace = newInvestmentPlanWorkspace()
thisObject.investmentPlanWorkspace.container.connectToParent(thisObject.sidePanel.container, true, true)
// thisObject.investmentPlanWorkspace.container.connectToParent(thisObject.sidePanel.container, true, true)
await thisObject.investmentPlanWorkspace.initialize()
thisObject.sidePanel.areas.push(thisObject.investmentPlanWorkspace)
// thisObject.sidePanel.areas.push(thisObject.investmentPlanWorkspace)
}
function makeVisible () {
@@ -60,6 +60,8 @@ function newStrategySpace () {
}
function draw () {
thisObject.sidePanel.draw()
if (thisObject.sidePanel !== undefined) {
thisObject.sidePanel.draw()
}
}
}