small fixes
This commit is contained in:
1 parent
d3a5e40948
commit
b9b4830b33
2 files changed
+7
-1
No files matched your search
@@ -316,7 +316,7 @@ function newWorkspace () {
|
||||
if (nodeName === undefined) {
|
||||
nodeName = ''
|
||||
} else {
|
||||
nodeName = '.' + nodeName
|
||||
nodeName = ' ' + nodeName
|
||||
}
|
||||
let fileName = 'Backup - ' + payload.node.type + ' - ' + nodeName + '.json'
|
||||
download(fileName, text)
|
||||
|
||||
@@ -86,6 +86,10 @@ function newPlotterPanel () {
|
||||
|
||||
if (currentRecord === undefined) { return }
|
||||
if (currentRecord.data === undefined) { return }
|
||||
|
||||
let record = currentRecord.data
|
||||
|
||||
/* First we execute code if provided. */
|
||||
if (panelNode.javascriptCode !== undefined) {
|
||||
try {
|
||||
eval(panelNode.javascriptCode.code)
|
||||
@@ -94,6 +98,8 @@ function newPlotterPanel () {
|
||||
}
|
||||
}
|
||||
|
||||
/* Second we go through the panel labels. */
|
||||
|
||||
function printLabel (labelToPrint, x, y, opacity) {
|
||||
let labelPoint
|
||||
let fontSize = 10
|
||||
|
||||
Reference in new issue
Block a user