From 3057035deca8b5b65826eef9d8be5048655f8cf0 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Thu, 12 May 2022 14:57:16 +0100 Subject: [PATCH] Do not slice-junction link node wires --- .../node_modules/@node-red/editor-client/src/js/ui/view.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/view.js b/packages/node_modules/@node-red/editor-client/src/js/ui/view.js index 04055b7f7..87db82f8e 100755 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/view.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/view.js @@ -4959,10 +4959,11 @@ RED.view = (function() { .on("touchstart",linkTouchStart) .on("mousemove", function(d) { if (mouse_mode === RED.state.SLICING) { + selectedLinks.add(d) l.classed("red-ui-flow-link-splice",true) redraw() - } else if (mouse_mode === RED.state.SLICING_JUNCTION) { + } else if (mouse_mode === RED.state.SLICING_JUNCTION && !d.link) { if (!l.classed("red-ui-flow-link-splice")) { // Find intersection point var lineLength = pathLine.getTotalLength();