Fix: Store proper windows bounds when maximized

This commit is contained in:
Preston 2021-03-10 21:01:21 -05:00 committed by GitHub
parent d01e766e21
commit dfc45ee9a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -304,7 +304,7 @@ function createWindow (useProxy = false, proxyUrl = '') {
ipcMain.on('setBounds', (_e, data) => { ipcMain.on('setBounds', (_e, data) => {
const value = { const value = {
...mainWindow.getBounds(), ...mainWindow.getNormalBounds(),
maximized: mainWindow.isMaximized() maximized: mainWindow.isMaximized()
} }