fix(desktop): smooth Windows title bar overlay

This commit is contained in:
CEQ151 authored and digua committed 2026-06-05 11:12:42 +08:00
1 parent 0bd4d31dd2
commit 8f785ee0a8
10 files changed
+304 -38

No files matched your search

+3
View File
@@ -33,6 +33,9 @@ export const api = {
setThemeSource: (mode: 'system' | 'light' | 'dark') => {
ipcRenderer.send('window:setThemeSource', mode)
},
setTitleBarOverlayColor: (color: string) => {
ipcRenderer.send('window:setTitleBarOverlayColor', color)
},
}
// 扩展 api,添加 dialog、clipboard 和应用功能