MCPcopy Create free account
hub / github.com/UfukNode/Noustiny / zoomIn

Function zoomIn

web/components/ZoomControl.tsx:16–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14 const { zoom } = useViewport()
15
16 const zoomIn = () => flow.zoomIn({ duration: 220 })
17 const zoomOut = () => flow.zoomOut({ duration: 220 })
18 const fit = () => flow.fitView({ padding: 0.14, duration: 400, maxZoom: 0.95, minZoom: 0.25 })
19

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected