()
| 77 | }, [recomputeFitScale]); |
| 78 | |
| 79 | const zoomIn = () => { |
| 80 | setZoom((z) => Math.min(MAX_ZOOM, Math.round((z + 0.5) * 100) / 100)); |
| 81 | }; |
| 82 | |
| 83 | const zoomOut = () => { |
| 84 | setZoom((z) => Math.max(MIN_ZOOM, Math.round((z - 0.5) * 100) / 100)); |
nothing calls this directly
no outgoing calls
no test coverage detected