This commit is contained in:
parent
fb2b82a951
commit
c216ff2542
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue