MCPcopy Create free account
hub / github.com/anomalyco/opencode / zoomOut

Function zoomOut

packages/desktop/src/renderer/webview-zoom.ts:70–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68const resetZoom = () => applyZoom(1)
69const zoomIn = () => applyZoom(clamp(requestedZoom + 0.2))
70const zoomOut = () => applyZoom(clamp(requestedZoom - 0.2))
71
72const resetWheelPinch = () => {
73 clearTimeout(wheelPinch?.timeout)

Callers 2

runDesktopMenuActionFunction · 0.90
webview-zoom.tsFile · 0.85

Calls 2

applyZoomFunction · 0.85
clampFunction · 0.70

Tested by

no test coverage detected