allways visible names

This commit is contained in:
Luis Fernando Molina committed 2019-09-09 09:51:16 +02:00
1 parent cef80f59fa
commit d98738a073
1 file changed
+3 -1
+3 -1
View File
@@ -59,9 +59,11 @@ function newStrategyPartTitle () {
break
}
case 'Sensor': {
thisObject.allwaysVisible = true
break
}
case 'Indicator': {
thisObject.allwaysVisible = true
break
}
case 'Trading Engine': {
@@ -344,7 +346,7 @@ function newStrategyPartTitle () {
function trimTitle (title) {
if (title === undefined) { return }
const MAX_LABEL_LENGTH = 30
const MAX_LABEL_LENGTH = 50
if (title.length > MAX_LABEL_LENGTH) {
title = title.substring(0, MAX_LABEL_LENGTH) + '...'
}