diff --git a/Panels/ProductCard.js b/Panels/ProductCard.js index bad36ba6a..136b2e449 100644 --- a/Panels/ProductCard.js +++ b/Panels/ProductCard.js @@ -134,7 +134,7 @@ function newProductCard () { } thisObject.container.frame.position = position - thisObject.container.frame.width = UI_PANEL.WIDTH.LARGE - 20 + thisObject.container.frame.width = UI_PANEL.WIDTH.LARGE thisObject.container.frame.height = 100 /* We retrieve the locally stored status of the Product */ @@ -346,6 +346,17 @@ function newProductCard () { } } + let label1 = label + let label2 = 'ON' + let label3 = '' + + let icon1 = canvas.designerSpace.iconCollection.get('oscillator') + let icon2 = canvas.designerSpace.iconCollection.get('poloniex') // canvas.designerSpace.iconByUiObjectType.get(thisObject.payload.node.type) + + let backgroundColor = UI_COLOR.BLACK + + drawScaleDisplay(label1, label2, label3, 0, 0, 0, icon1, icon2, thisObject.container, backgroundColor) + /* ------------------- Progress Bars -------------------------- */ const ANIMATED_INCREMENT = 5 diff --git a/Panels/ProductsPanel.js b/Panels/ProductsPanel.js index d106d7327..b8a479578 100644 --- a/Panels/ProductsPanel.js +++ b/Panels/ProductsPanel.js @@ -494,7 +494,7 @@ function newProductsPanel () { function draw () { if (isInitialized === false) { return } - thisObject.container.frame.draw(false, false, true, thisObject.fitFunction) + thisObject.container.frame.draw(false, false, false, thisObject.fitFunction) for (let i = 0; i < visibleProductCards.length; i++) { visibleProductCards[i].draw() diff --git a/Spaces/DesignerSpace.js b/Spaces/DesignerSpace.js index 130df5dc3..b2aaedc46 100644 --- a/Spaces/DesignerSpace.js +++ b/Spaces/DesignerSpace.js @@ -215,7 +215,9 @@ function newDesignerSpace () { 'oscillator', 'moving-average', 'histogram', - 'band' + 'band', + 'volume', + 'candles' ] for (let i = 0; i < iconsNames.length; i++) {