(n: number)
| 116 | const clampInt = (n: number, min: number, max: number): number => Math.max(min, Math.min(max, n | 0)); |
| 117 | |
| 118 | const formatPercent = (n: number): string => `${n.toFixed(2)}%`; |
| 119 | |
| 120 | const computeZoomAwareTarget = (baseThreshold: number, spanFrac: number): number => { |
| 121 | // Mirrors createRenderCoordinator’s behavior: |