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