mirror of
https://github.com/material-components/material-web.git
synced 2026-01-09 07:21:09 +08:00
Removed linear progress buffer clamping
This commit is contained in:
parent
a8a9d56581
commit
2512f55c1d
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user