(percent: number)
| 365 | } |
| 366 | |
| 367 | function getPercentValue(percent: number) { |
| 368 | const val = percent * (maxValue - minValue) + minValue; |
| 369 | return clamp(getRoundedValue(val), minValue, maxValue); |
| 370 | } |
| 371 | |
| 372 | function incrementThumb(index: number, stepSize: number = 1) { |
| 373 | let s = Math.max(stepSize, step); |
no test coverage detected