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

Function zoom

packages/app/src/components/titlebar.tsx:83–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81 const linux = createMemo(() => platform.platform === "desktop" && platform.os === "linux")
82 const web = createMemo(() => platform.platform === "web")
83 const zoom = () => platform.webviewZoom?.() ?? 1
84 const titlebarZoom = () => (windows() ? Math.max(zoom(), minTitlebarZoom) : zoom())
85 const counterZoom = () => (windows() && titlebarZoom() < 1 ? 1 / titlebarZoom() : 1)
86 const minHeight = () => {

Callers 3

titlebarZoomFunction · 0.85
minHeightFunction · 0.85
TitlebarFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected