Browse Source

:art: Improve boot UI https://github.com/siyuan-note/siyuan/issues/8496

Daniel 2 years ago
parent
commit
eb941b36e4
1 changed files with 0 additions and 2 deletions
  1. 0 2
      app/electron/main.js

+ 0 - 2
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,