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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user