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 90ed7f901..ce55c6acb 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 @@ -1959,6 +1959,16 @@ RED.view = (function() { clearSelection(); RED.history.pop(); mouse_mode = 0; + } else if (mouse_mode === RED.state.SLICING) { + if (slicePath) { + slicePath.remove(); + slicePath = null; + resetMouseVars() + } + clearSelection(); + } else if (lasso) { + lasso.remove(); + lasso = null; } else if (activeGroup) { exitActiveGroup() } else {