mirror of
https://github.com/material-components/material-web.git
synced 2024-09-11 13:46:10 +03: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…
Reference in New Issue
Block a user