This commit is contained in:
Vanessa 2024-03-26 09:03:08 +08:00
parent fb2b82a951
commit c216ff2542

View file

@ -947,8 +947,8 @@ app.whenReady().then(() => {
const win = new BrowserWindow({
show: true,
trafficLightPosition: {x: 8, y: 13},
width: data.width || mainScreen.size.width * 0.7,
height: data.height || mainScreen.size.height * 0.9,
width: Math.floor(data.width || mainScreen.size.width * 0.7),
height: Math.floor(data.height || mainScreen.size.height * 0.9),
minWidth: 493,
minHeight: 376,
fullscreenable: true,