commit | 00e56d0efb4600eddf0d623703c45b2838c9bcfa | [log] [tgz] |
---|---|---|
author | Sean Condon <sean@opennetworking.org> | Fri Feb 28 09:50:04 2020 +0000 |
committer | Sean Condon <sean@opennetworking.org> | Fri Feb 28 15:24:23 2020 +0000 |
tree | 87077ffd157599672eafb24c5cfca07799c2a0af | |
parent | edb437a5ad3bd638207fc3adcd3a2fecf6e338fe [diff] [blame] |
Changed how link highlight text is updated Also added in widening of text box and different kerning options Change-Id: I141251a2b3258de2cd8f7b0d47510ea9b7340fd4
diff --git a/web/gui2-topo-lib/lib/layer/forcesvg/visuals/linksvg/linksvg.component.ts b/web/gui2-topo-lib/lib/layer/forcesvg/visuals/linksvg/linksvg.component.ts index b691417..6e1d219 100644 --- a/web/gui2-topo-lib/lib/layer/forcesvg/visuals/linksvg/linksvg.component.ts +++ b/web/gui2-topo-lib/lib/layer/forcesvg/visuals/linksvg/linksvg.component.ts
@@ -72,6 +72,9 @@ ngOnChanges(changes: SimpleChanges) { if (changes['linkHighlight']) { const hl: LinkHighlight = changes['linkHighlight'].currentValue; + if (hl === undefined) { + return; + } clearTimeout(this.lastTimer); this.isHighlighted = true; this.log.debug('Link highlighted', this.link.id);