mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
⚡ Implement that nodes can also be deselected with ctrl+click
This commit is contained in:
@@ -156,6 +156,13 @@ export const mouseSelect = mixins(nodeIndex).extend({
|
||||
this.updateSelectBox(e);
|
||||
},
|
||||
|
||||
nodeDeselected (node: INodeUi) {
|
||||
this.$store.commit('removeNodeFromSelection', node);
|
||||
const nodeElement = `node-${this.getNodeIndex(node.name)}`;
|
||||
// @ts-ignore
|
||||
this.instance.removeFromDragSelection(nodeElement);
|
||||
|
||||
},
|
||||
nodeSelected (node: INodeUi) {
|
||||
this.$store.commit('addSelectedNode', node);
|
||||
const nodeElement = `node-${this.getNodeIndex(node.name)}`;
|
||||
|
||||
Reference in New Issue
Block a user