Committed by
Gerrit Code Review
ONOS-3588: Topo view... prevent device labels from flashing on update. Also dele…
…ted unused variables. Change-Id: I5b9d9f30d89dfd8205261c2a0d37ae1fd0e8200b
Showing
1 changed file
with
3 additions
and
8 deletions
... | @@ -205,16 +205,11 @@ | ... | @@ -205,16 +205,11 @@ |
205 | noLabel = !label, | 205 | noLabel = !label, |
206 | node = d.el, | 206 | node = d.el, |
207 | dim = icfg.device.dim, | 207 | dim = icfg.device.dim, |
208 | - box, dx, dy, bsel, | 208 | + box, dx, dy, |
209 | - bdg = d.badge, | 209 | + bdg = d.badge; |
210 | - bcr = badgeConfig.radius, | ||
211 | - bcgd = badgeConfig.gdelta; | ||
212 | 210 | ||
213 | node.select('text') | 211 | node.select('text') |
214 | - .text(label) | 212 | + .text(label); |
215 | - .style('opacity', 0) | ||
216 | - .transition() | ||
217 | - .style('opacity', 1); | ||
218 | 213 | ||
219 | if (noLabel) { | 214 | if (noLabel) { |
220 | box = emptyBox(); | 215 | box = emptyBox(); | ... | ... |
-
Please register or login to post a comment