()
| 18 | const handleZoomIn = () => setZoom((z) => Math.min(z * 1.25, 8)); |
| 19 | const handleZoomOut = () => setZoom((z) => Math.max(z / 1.25, 0.1)); |
| 20 | const handleFitToggle = () => { |
| 21 | setFitMode((m) => (m === "fit" ? "actual" : "fit")); |
| 22 | setZoom(1); |
| 23 | }; |
| 24 | |
| 25 | const isSvg = path.endsWith(".svg"); |
| 26 | const hasTransparency = path.endsWith(".png") || path.endsWith(".gif") || |
nothing calls this directly
no outgoing calls
no test coverage detected