This commit is contained in:
Daniel 2023-06-09 10:45:39 +08:00
parent 210139a26c
commit eb941b36e4
No known key found for this signature in database
GPG Key ID: 86211BA83DF03017

View File

@ -245,7 +245,6 @@ const boot = () => {
// 创建主窗体 // 创建主窗体
const currentWindow = new BrowserWindow({ const currentWindow = new BrowserWindow({
show: false, show: false,
backgroundColor: "#FFF", // 桌面端主窗体背景色设置为 `#FFF` Fix https://github.com/siyuan-note/siyuan/issues/4544
width: windowState.width, width: windowState.width,
height: windowState.height, height: windowState.height,
minWidth: 493, minWidth: 493,
@ -675,7 +674,6 @@ app.whenReady().then(() => {
const mainScreen = screen.getDisplayNearestPoint({x: mainBounds.x, y: mainBounds.y}); const mainScreen = screen.getDisplayNearestPoint({x: mainBounds.x, y: mainBounds.y});
const win = new BrowserWindow({ const win = new BrowserWindow({
show: true, show: true,
backgroundColor: "#FFF", // 桌面端主窗体背景色设置为 `#FFF` Fix https://github.com/siyuan-note/siyuan/issues/4544
trafficLightPosition: {x: 8, y: 13}, trafficLightPosition: {x: 8, y: 13},
width: mainScreen.size.width * 0.7, width: mainScreen.size.width * 0.7,
height: mainScreen.size.height * 0.9, height: mainScreen.size.height * 0.9,