mirror of
https://github.com/n8n-io/n8n.git
synced 2026-06-03 10:17:00 +02:00
fix: allow default behaviour if less than 2 nodes selected
This commit is contained in:
parent
f7a1327017
commit
6ce0fb5177
|
|
@ -279,7 +279,7 @@ function onNodeDragStop(event: NodeDragEvent) {
|
|||
}
|
||||
|
||||
function onNodeClick({ event, node }: NodeMouseEvent) {
|
||||
if (event.ctrlKey || event.metaKey) {
|
||||
if (event.ctrlKey || event.metaKey || selectedNodes.value.length < 2) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user