Fix macOS dimensions
This commit is contained in:
@@ -42,8 +42,8 @@ const UpgradeIPC = require('../src/renderer/ipc/UpgradeIPC');
|
|||||||
const platform = os.platform();
|
const platform = os.platform();
|
||||||
|
|
||||||
const dimensions = {
|
const dimensions = {
|
||||||
height: ((platform === 'darwin') ? 346 : (platform === 'win32') ? 326 : 300),
|
height: (platform === 'win32') ? 326 : (platform === 'darwin') ? 322 : 300,
|
||||||
width: 428 + ((platform === 'win32') ? 40 : (platform === 'darwin') ? 190 : 200),
|
width: (platform === 'win32') ? 468 : 628,
|
||||||
};
|
};
|
||||||
|
|
||||||
let isShutdown = false;
|
let isShutdown = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user