diff --git a/Projects/Superalgos/TS/Bot-Modules/Indicator-Bot/SingleMarketIndicatorBot.js b/Projects/Superalgos/TS/Bot-Modules/Indicator-Bot/SingleMarketIndicatorBot.js index 0b27dc2af..887e3ea3a 100644 --- a/Projects/Superalgos/TS/Bot-Modules/Indicator-Bot/SingleMarketIndicatorBot.js +++ b/Projects/Superalgos/TS/Bot-Modules/Indicator-Bot/SingleMarketIndicatorBot.js @@ -91,9 +91,6 @@ let dataDependencies; let nextWaitTime; - processStopped() - TS.projects.superalgos.globals.taskVariables.FATAL_ERROR_MESSAGE = "The world is collapsing..." - return initializeProcessExecutionEvents(); diff --git a/Projects/Superalgos/UI/Spaces/Floating-Space/UiObject.js b/Projects/Superalgos/UI/Spaces/Floating-Space/UiObject.js index f05493feb..0cf9e73e5 100644 --- a/Projects/Superalgos/UI/Spaces/Floating-Space/UiObject.js +++ b/Projects/Superalgos/UI/Spaces/Floating-Space/UiObject.js @@ -1751,7 +1751,7 @@ function newUiObject() { if (thisObject.hasError === true) { return } if (thisObject.hasWarning !== true) { return } - thisObject.uiObjectMessage.text = errorMessage + thisObject.uiObjectMessage.text = warningMessage thisObject.uiObjectMessage.type = 'Warning' thisObject.uiObjectMessage.docs = warningDocs } @@ -1761,7 +1761,7 @@ function newUiObject() { if (thisObject.hasWarning === true) { return } if (thisObject.hasInfo !== true) { return } - thisObject.uiObjectMessage.text = errorMessage + thisObject.uiObjectMessage.text = infoMessage thisObject.uiObjectMessage.type = 'Info' thisObject.uiObjectMessage.docs = infoDocs } diff --git a/Projects/Superalgos/UI/Spaces/Floating-Space/UiObjectMessage.js b/Projects/Superalgos/UI/Spaces/Floating-Space/UiObjectMessage.js index c930fb4e0..ba10d5505 100644 --- a/Projects/Superalgos/UI/Spaces/Floating-Space/UiObjectMessage.js +++ b/Projects/Superalgos/UI/Spaces/Floating-Space/UiObjectMessage.js @@ -58,7 +58,6 @@ function newUiObjectMessage() { function physics() { if (thisObject.text === undefined) { return } - let text = trimMessageText(thisObject.text) /* Here we set the dimensions and position of this object */ const FRAME_HEIGHT = 120 @@ -173,7 +172,6 @@ function newUiObjectMessage() { if (label.length > IDEAL_LABEL_LENGTH * 3) { label = label.substring(0, IDEAL_LABEL_LENGTH * 3) + '...' } - fontSize = 15 } /* Split the line into Phrases */ @@ -201,14 +199,5 @@ function newUiObjectMessage() { } } } - - function trimMessageText(text) { - if (text === undefined) { return } - const MAX_LABEL_LENGTH = 35 - if (text.length > MAX_LABEL_LENGTH) { - text = text.substring(0, MAX_LABEL_LENGTH) + '...' - } - return text - } }