From eb941b36e4d5af06d9049fbce4b57a608cebde85 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Fri, 9 Jun 2023 10:45:39 +0800 Subject: [PATCH] :art: Improve boot UI https://github.com/siyuan-note/siyuan/issues/8496 --- app/electron/main.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/electron/main.js b/app/electron/main.js index 940b528ab..6e3bf7594 100644 --- a/app/electron/main.js +++ b/app/electron/main.js @@ -245,7 +245,6 @@ const boot = () => { // 创建主窗体 const currentWindow = new BrowserWindow({ show: false, - backgroundColor: "#FFF", // 桌面端主窗体背景色设置为 `#FFF` Fix https://github.com/siyuan-note/siyuan/issues/4544 width: windowState.width, height: windowState.height, minWidth: 493, @@ -675,7 +674,6 @@ app.whenReady().then(() => { const mainScreen = screen.getDisplayNearestPoint({x: mainBounds.x, y: mainBounds.y}); const win = new BrowserWindow({ show: true, - backgroundColor: "#FFF", // 桌面端主窗体背景色设置为 `#FFF` Fix https://github.com/siyuan-note/siyuan/issues/4544 trafficLightPosition: {x: 8, y: 13}, width: mainScreen.size.width * 0.7, height: mainScreen.size.height * 0.9,