From 7e7f481f99543606673df591968d3311fecf5cfb Mon Sep 17 00:00:00 2001 From: Hiroyasu Nishiyama Date: Fri, 19 Nov 2021 17:14:22 +0900 Subject: [PATCH] fix to show link target when selected --- .../node_modules/@node-red/editor-client/src/js/ui/view.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/view.js b/packages/node_modules/@node-red/editor-client/src/js/ui/view.js index f32496599..6d277f759 100755 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/view.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/view.js @@ -4421,6 +4421,9 @@ RED.view = (function() { n.selected = true; n.dirty = true; movingSet.add(n); + if (targets.length === 1) { + RED.view.reveal(n.id); + } }); updateSelection(); redraw();