This commit is contained in:
Daniel 2023-06-08 21:30:00 +08:00
parent e7cde39a0f
commit f9432260aa
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
3 changed files with 5 additions and 9 deletions

View file

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