(start, end)
| 697 | const createCoordinatorZoomStateLike = (): ZoomState => { |
| 698 | const getRange: ZoomState['getRange'] = () => coordinator?.getZoomRange() ?? { start: 0, end: 100 }; |
| 699 | const setRange: ZoomState['setRange'] = (start, end) => { |
| 700 | coordinator?.setZoomRange(start, end); |
| 701 | }; |
| 702 | const zoomIn: ZoomState['zoomIn'] = (center, factor) => { |
| 703 | if (!Number.isFinite(center) || !Number.isFinite(factor) || factor <= 1) return; |
| 704 | const r = coordinator?.getZoomRange(); |
nothing calls this directly
no test coverage detected