mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-10 22:23:28 +08:00
🎨 Improve boot UI https://github.com/siyuan-note/siyuan/issues/8496
This commit is contained in:
parent
210139a26c
commit
eb941b36e4
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user