chore: generate

This commit is contained in:
opencode-agent[bot]
2026-05-05 04:27:38 +00:00
parent 07f1c8c0ac
commit 6f7d63e9ce
2 changed files with 143 additions and 140 deletions
@@ -21,10 +21,13 @@ const clamp = (value: number) => Math.min(Math.max(value, MIN_ZOOM_LEVEL), MAX_Z
const applyZoom = (next: number) => { const applyZoom = (next: number) => {
requestedZoom = next requestedZoom = next
void window.api.setZoomFactor(next).then(() => { void window.api
.setZoomFactor(next)
.then(() => {
if (requestedZoom !== next) return if (requestedZoom !== next) return
setWebviewZoom(next) setWebviewZoom(next)
}).catch(() => { })
.catch(() => {
if (requestedZoom !== next) return if (requestedZoom !== next) return
requestedZoom = webviewZoom() requestedZoom = webviewZoom()
}) })