fix: remove duplicate upload speed baseline

Keep the static first-paint speed line only until the canvas renders its first frame, then remove the placeholder so active upload telemetry shows one curve. Extend the hidden real-renderer regression to verify the transition without opening a visible window.
This commit is contained in:
Sucukdeluxe
2026-08-22 09:35:18 +02:00
parent 1546c7664b
commit 2c1e0046ff
2 changed files with 25 additions and 3 deletions
+1
View File
@@ -4241,6 +4241,7 @@ function drawUploadSpeedSparkline() {
const context = canvas.getContext('2d');
context.setTransform(scale, 0, 0, scale, 0, 0);
context.clearRect(0, 0, width, height);
document.querySelector('.upload-speed-baseline')?.remove();
const values = uploadSpeedState.history;
if (values.length < 2) return;
const maximum = Math.max(1, ...values);