Skip to content

Commit 4100a32

Browse files
committed
Topology, debugging
1 parent d432de0 commit 4100a32

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

Protest/Front/topology.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)