mirror of https://github.com/node-red/node-red.git
fix align nodes on locked tab
parent
910f6134f6
commit
25b6e214dd
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue