Longer animations for tracetroutes

This commit is contained in:
Anton Roslund 2026-01-04 14:11:45 +01:00
parent a49c1b73ea
commit ef7053d243

View file

@ -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