File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -616,6 +616,13 @@ class Topology extends Window {
616616
617617 this . workspace . style . left = "8px" ;
618618
619+ this . ResetLinkColor ( ) ;
620+
621+ setTimeout ( ( ) => this . AdjustSvgSize ( ) , 200 ) ;
622+ this . content . focus ( ) ;
623+ }
624+
625+ ResetLinkColor ( ) {
619626 for ( const file in this . devices ) {
620627 const device = this . devices [ file ] ;
621628
@@ -632,9 +639,6 @@ class Topology extends Window {
632639 link . element . line . setAttribute ( "stroke" , "#c0c0c0" ) ;
633640 }
634641 }
635-
636- setTimeout ( ( ) => this . AdjustSvgSize ( ) , 200 ) ;
637- this . content . focus ( ) ;
638642 }
639643
640644 SortByLocation_Phase1 ( ) {
@@ -835,6 +839,8 @@ class Topology extends Window {
835839 return ;
836840 }
837841
842+ this . ResetLinkColor ( ) ;
843+
838844 this . uiMode = "find" ;
839845 this . navPane . textContent = "" ;
840846
You can’t perform that action at this time.
0 commit comments