1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

fix to show link target when selected

This commit is contained in:
Hiroyasu Nishiyama 2021-11-19 17:14:22 +09:00
parent 7560bb8d7b
commit 7e7f481f99

View File

@ -4421,6 +4421,9 @@ RED.view = (function() {
n.selected = true; n.selected = true;
n.dirty = true; n.dirty = true;
movingSet.add(n); movingSet.add(n);
if (targets.length === 1) {
RED.view.reveal(n.id);
}
}); });
updateSelection(); updateSelection();
redraw(); redraw();