(value)
| 508 | return value.toFixed(5); |
| 509 | }; |
| 510 | const syncThresholdUi = (value) => { |
| 511 | connectionThresholdSlider.value = String(value); |
| 512 | connectionThresholdValue.textContent = formatThreshold(value); |
| 513 | }; |
| 514 | const applyConnectionThreshold = (rawValue, { emit = true } = {}) => { |
| 515 | const max = updateThresholdSliderBounds(); |
| 516 | let parsed = Number.parseFloat(rawValue); |
no test coverage detected