diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/view-tools.js b/packages/node_modules/@node-red/editor-client/src/js/ui/view-tools.js index 7cfc07924..eaadf2a50 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/view-tools.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/view-tools.js @@ -448,9 +448,9 @@ RED.view.tools = (function() { } function alignSelectionToEdge(direction) { - // if (RED.workspaces.isLocked()) { - // return - // } + if (RED.workspaces.isLocked()) { + return; + } var selection = RED.view.selection(); if (selection.nodes && selection.nodes.length > 1) {