fix(desktop): keep mac titlebar stable under zoom (#11747)

This commit is contained in:
Brendan Allan
2026-02-02 15:54:25 +08:00
committed by GitHub
parent 141fdef588
commit c02dd067b2
4 changed files with 33 additions and 18 deletions

View File

@@ -1,5 +1,5 @@
// @refresh reload
import "./webview-zoom"
import { webviewZoom } from "./webview-zoom"
import { render } from "solid-js/web"
import { AppBaseProviders, AppInterface, PlatformProvider, Platform } from "@opencode-ai/app"
import { open, save } from "@tauri-apps/plugin-dialog"
@@ -346,6 +346,8 @@ const createPlatform = (password: Accessor<string | null>): Platform => ({
parseMarkdown: async (markdown: string) => {
return invoke<string>("parse_markdown_command", { markdown })
},
webviewZoom,
})
createMenu()