Removed linear progress buffer clamping

This commit is contained in:
Luke Vo 2024-02-17 11:54:59 +07:00
parent a8a9d56581
commit 2512f55c1d

View File

@ -30,7 +30,7 @@ export class LinearProgress extends Progress {
}%)`,
};
const bufferValue = Math.min(this.buffer ?? 0, this.max);
const bufferValue = this.buffer ?? 0;
const hasBuffer = bufferValue > 0;
const dotSize = this.indeterminate || !hasBuffer ? 1 : bufferValue / this.max;