Panels with no coding
This commit is contained in:
1 parent
de56425e84
commit
d3a5e40948
12 files changed
+3
-196
No files matched your search
@@ -199,17 +199,6 @@ function newChainAttachDetach () {
|
||||
completeDetachment(node, rootNodes)
|
||||
return
|
||||
}
|
||||
case 'Plotter Panel': {
|
||||
let payload = node.payload
|
||||
for (let i = 0; i < payload.parentNode.panels.length; i++) {
|
||||
let panel = payload.parentNode.panels[i]
|
||||
if (panel.id === node.id) {
|
||||
payload.parentNode.panels.splice(i, 1)
|
||||
}
|
||||
}
|
||||
completeDetachment(node, rootNodes)
|
||||
return
|
||||
}
|
||||
case 'Network Node': {
|
||||
let payload = node.payload
|
||||
for (let i = 0; i < payload.parentNode.networkNodes.length; i++) {
|
||||
@@ -745,13 +734,6 @@ function newChainAttachDetach () {
|
||||
completeAttachment(node, rootNodes)
|
||||
}
|
||||
break
|
||||
case 'Plotter Panel': {
|
||||
node.payload.parentNode = attachToNode
|
||||
node.payload.chainParent = attachToNode
|
||||
node.payload.parentNode.panels.push(node)
|
||||
completeAttachment(node, rootNodes)
|
||||
}
|
||||
break
|
||||
case 'Network Node': {
|
||||
node.payload.parentNode = attachToNode
|
||||
node.payload.chainParent = attachToNode
|
||||
|
||||
Reference in new issue
Block a user