Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/opencode
/ zoomIn
Function
zoomIn
packages/desktop/src/renderer/webview-zoom.ts:69–69 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
67
68
const
resetZoom = () => applyZoom(1)
69
const
zoomIn = () => applyZoom(clamp(requestedZoom + 0.2))
70
const
zoomOut = () => applyZoom(clamp(requestedZoom - 0.2))
71
72
const
resetWheelPinch = () => {
Callers
2
runDesktopMenuAction
Function · 0.90
webview-zoom.ts
File · 0.85
Calls
2
applyZoom
Function · 0.85
clamp
Function · 0.70
Tested by
no test coverage detected