MCPcopy Create free account
hub / github.com/codeaashu/claude-code / handleZoomOut

Function handleZoomOut

web/components/file-viewer/ImageViewer.tsx:19–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17
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);

Callers

nothing calls this directly

Calls 1

maxMethod · 0.80

Tested by

no test coverage detected