1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Merge pull request #4072 from node-red-hitachi/fix-align-nodes-on-locked-tab

fix align nodes on locked tab
This commit is contained in:
Nick O'Leary 2023-03-02 15:14:02 +00:00 committed by GitHub
commit 2804794f7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {