Only one set of panels is show now, depending on the owner
This commit is contained in:
1 parent
e755819ab6
commit
3ac7a55c3a
5 files changed
+53
-20
No files matched your search
+9
-4
@@ -70,8 +70,9 @@
|
||||
exchange = pExchange
|
||||
market = pMarket
|
||||
|
||||
productsPanelHandle = canvas.panelsSpace.createNewPanel('Products Panel')
|
||||
let productsPanel = canvas.panelsSpace.getPanel(productsPanelHandle)
|
||||
let panelOwner = exchange + ' ' + market.assetB + '/' + market.assetA
|
||||
productsPanelHandle = canvas.panelsSpace.createNewPanel('Products Panel', undefined, panelOwner)
|
||||
let productsPanel = canvas.panelsSpace.getPanel(productsPanelHandle, panelOwner)
|
||||
productsPanel.initialize(exchange, market)
|
||||
|
||||
logoA = new Image()
|
||||
@@ -304,9 +305,13 @@
|
||||
if (INTENSIVE_LOG === true) { logger.write('[INFO] draw -> Entering function.') }
|
||||
|
||||
if (thisObject.container.frame.isInViewPort()) {
|
||||
this.container.frame.draw()
|
||||
if (window.CHART_ON_FOCUS === '') {
|
||||
window.CHART_ON_FOCUS = exchange + ' ' + market.assetB + '/' + market.assetA
|
||||
|
||||
drawBackground()
|
||||
this.container.frame.draw()
|
||||
|
||||
drawBackground()
|
||||
}
|
||||
|
||||
chartGrid.draw(thisObject.container, timeLineCoordinateSystem)
|
||||
|
||||
|
||||
Reference in new issue
Block a user