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