mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-11 19:28:50 +01:00
🎨 Prevent the white background from flashing when closing error windows in macOS dark mode (#16792)
This commit is contained in:
parent
afc97f9fa7
commit
5f2abf9d9e
1 changed files with 1 additions and 0 deletions
|
|
@ -218,6 +218,7 @@ const showErrorWindow = (titleZh, titleEn, content, emoji = "⚠️") => {
|
|||
titleBarStyle: "hidden",
|
||||
fullscreenable: false,
|
||||
icon: path.join(appDir, "stage", "icon-large.png"),
|
||||
transparent: "darwin" === process.platform, // 避免深色模式关闭窗口时闪现白色背景
|
||||
webPreferences: {
|
||||
nodeIntegration: true, webviewTag: true, webSecurity: false, contextIsolation: false,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue