mirror of https://github.com/node-red/node-red.git
Merge pull request #5022 from node-red/5020-quick-add-group-select
Do not select group when triggering quick-add within itbrowse-subflow-flow-context
commit
efbe38f509
|
@ -1265,11 +1265,6 @@ RED.view = (function() {
|
|||
var targetGroup = options.group;
|
||||
var touchTrigger = options.touchTrigger;
|
||||
|
||||
if (targetGroup) {
|
||||
selectedGroups.add(targetGroup,false);
|
||||
RED.view.redraw();
|
||||
}
|
||||
|
||||
// `point` is the place in the workspace the mouse has clicked.
|
||||
// This takes into account scrolling and scaling of the workspace.
|
||||
var ox = point[0];
|
||||
|
@ -1591,9 +1586,6 @@ RED.view = (function() {
|
|||
// auto select dropped node - so info shows (if visible)
|
||||
clearSelection();
|
||||
nn.selected = true;
|
||||
if (targetGroup) {
|
||||
selectedGroups.add(targetGroup,false);
|
||||
}
|
||||
movingSet.add(nn);
|
||||
updateActiveNodes();
|
||||
updateSelection();
|
||||
|
|
Loading…
Reference in New Issue