Longer animations for tracetroutes
This commit is contained in:
parent
a49c1b73ea
commit
ef7053d243
1 changed files with 3 additions and 3 deletions
|
|
@ -4488,7 +4488,7 @@
|
||||||
delete tracerouteLines[routeKey];
|
delete tracerouteLines[routeKey];
|
||||||
}
|
}
|
||||||
activeTracerouteKeys.delete(routeKey);
|
activeTracerouteKeys.delete(routeKey);
|
||||||
}, 2000);
|
}, 2500);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -4512,9 +4512,9 @@
|
||||||
line.setStyle({ opacity: 1.0 });
|
line.setStyle({ opacity: 1.0 });
|
||||||
tracerouteLines[routeKey].lines.push(line);
|
tracerouteLines[routeKey].lines.push(line);
|
||||||
|
|
||||||
// Animate next hop after 600ms delay
|
// Animate next hop after 700ms delay
|
||||||
hopIndex++;
|
hopIndex++;
|
||||||
setTimeout(animateNextHop, 600);
|
setTimeout(animateNextHop, 700);
|
||||||
};
|
};
|
||||||
|
|
||||||
// Start animation
|
// Start animation
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue