From dfc45ee9a68619c2659a0014bbe6d2383b7bcc60 Mon Sep 17 00:00:00 2001 From: Preston Date: Wed, 10 Mar 2021 21:01:21 -0500 Subject: [PATCH] Fix: Store proper windows bounds when maximized --- src/main/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/index.js b/src/main/index.js index 2bc48625..1ff88842 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -304,7 +304,7 @@ function createWindow (useProxy = false, proxyUrl = '') { ipcMain.on('setBounds', (_e, data) => { const value = { - ...mainWindow.getBounds(), + ...mainWindow.getNormalBounds(), maximized: mainWindow.isMaximized() }