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 itpull/5025/head
commit
efbe38f509
|
@ -1265,11 +1265,6 @@ RED.view = (function() {
|
||||||
var targetGroup = options.group;
|
var targetGroup = options.group;
|
||||||
var touchTrigger = options.touchTrigger;
|
var touchTrigger = options.touchTrigger;
|
||||||
|
|
||||||
if (targetGroup) {
|
|
||||||
selectedGroups.add(targetGroup,false);
|
|
||||||
RED.view.redraw();
|
|
||||||
}
|
|
||||||
|
|
||||||
// `point` is the place in the workspace the mouse has clicked.
|
// `point` is the place in the workspace the mouse has clicked.
|
||||||
// This takes into account scrolling and scaling of the workspace.
|
// This takes into account scrolling and scaling of the workspace.
|
||||||
var ox = point[0];
|
var ox = point[0];
|
||||||
|
@ -1591,9 +1586,6 @@ RED.view = (function() {
|
||||||
// auto select dropped node - so info shows (if visible)
|
// auto select dropped node - so info shows (if visible)
|
||||||
clearSelection();
|
clearSelection();
|
||||||
nn.selected = true;
|
nn.selected = true;
|
||||||
if (targetGroup) {
|
|
||||||
selectedGroups.add(targetGroup,false);
|
|
||||||
}
|
|
||||||
movingSet.add(nn);
|
movingSet.add(nn);
|
||||||
updateActiveNodes();
|
updateActiveNodes();
|
||||||
updateSelection();
|
updateSelection();
|
||||||
|
|
Loading…
Reference in New Issue