From 9cc1378fe66bc82ba9106aa7e77762b3a7c92d5d Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Tue, 1 Sep 2020 20:59:49 +0200 Subject: [PATCH] Bug fixes --- FloatingSpace/UiObject.js | 7 +++---- Plotting/RecordValues.js | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/FloatingSpace/UiObject.js b/FloatingSpace/UiObject.js index 3b7ab2109..7255f1655 100644 --- a/FloatingSpace/UiObject.js +++ b/FloatingSpace/UiObject.js @@ -1245,22 +1245,21 @@ function newUiObject() { } function drawMiddleground() { - if (thisObject.isOnFocus === false) { - drawBodyAndPicture() + if (thisObject.isOnFocus === false) { drawErrorMessage() drawWarningMessage() drawInfoMessage() drawValue() drawPercentage() drawStatus() - drawText() thisObject.uiObjectTitle.draw() + drawText() } } function drawForeground() { if (thisObject.isOnFocus === false) { - + drawBodyAndPicture() if (isDragging === false) { thisObject.menu.drawForeground() } diff --git a/Plotting/RecordValues.js b/Plotting/RecordValues.js index 073268fd0..118bcda60 100644 --- a/Plotting/RecordValues.js +++ b/Plotting/RecordValues.js @@ -42,7 +42,7 @@ function newRecordValues() { The Product Root Node is the root of the node hiriarchy from where we are going to extract the record values. */ let productRootNode = productRoot[index] - scanProperties(productRootNode, index) + scanProperties(productDefinition, productRootNode, index) } } else { /*