(delta)
| 271 | }; |
| 272 | |
| 273 | const pan: ZoomState['pan'] = (delta) => { |
| 274 | if (!Number.isFinite(delta)) return; |
| 275 | applyNextRange(start + delta, end + delta); |
| 276 | }; |
| 277 | |
| 278 | const onChange: ZoomState['onChange'] = (callback) => { |
| 279 | listeners.add(callback); |
nothing calls this directly
no test coverage detected