Fix: Store proper windows bounds when maximized
This commit is contained in:
parent
d01e766e21
commit
dfc45ee9a6
|
@ -304,7 +304,7 @@ function createWindow (useProxy = false, proxyUrl = '') {
|
|||
|
||||
ipcMain.on('setBounds', (_e, data) => {
|
||||
const value = {
|
||||
...mainWindow.getBounds(),
|
||||
...mainWindow.getNormalBounds(),
|
||||
maximized: mainWindow.isMaximized()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue