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

fix align nodes on locked tab

This commit is contained in:
Hiroyasu Nishiyama 2023-02-25 00:54:15 +09:00
parent 910f6134f6
commit 25b6e214dd

View File

@ -448,9 +448,9 @@ RED.view.tools = (function() {
} }
function alignSelectionToEdge(direction) { function alignSelectionToEdge(direction) {
// if (RED.workspaces.isLocked()) { if (RED.workspaces.isLocked()) {
// return return;
// } }
var selection = RED.view.selection(); var selection = RED.view.selection();
if (selection.nodes && selection.nodes.length > 1) { if (selection.nodes && selection.nodes.length > 1) {