mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-17 01:21:14 +08:00
This commit is contained in:
parent
fb2b82a951
commit
c216ff2542
@ -947,8 +947,8 @@ app.whenReady().then(() => {
|
|||||||
const win = new BrowserWindow({
|
const win = new BrowserWindow({
|
||||||
show: true,
|
show: true,
|
||||||
trafficLightPosition: {x: 8, y: 13},
|
trafficLightPosition: {x: 8, y: 13},
|
||||||
width: data.width || mainScreen.size.width * 0.7,
|
width: Math.floor(data.width || mainScreen.size.width * 0.7),
|
||||||
height: data.height || mainScreen.size.height * 0.9,
|
height: Math.floor(data.height || mainScreen.size.height * 0.9),
|
||||||
minWidth: 493,
|
minWidth: 493,
|
||||||
minHeight: 376,
|
minHeight: 376,
|
||||||
fullscreenable: true,
|
fullscreenable: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user