fix: skip maximise if starting to tray
Signed-off-by: Mihai <cristian@mihaimuresan.com>
This commit is contained in:
@@ -79,7 +79,7 @@ export function createMainWindow() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// maximise the window if it was maximised before
|
// maximise the window if it was maximised before
|
||||||
if (config.windowState.isMaximised) {
|
if (config.windowState.isMaximised && !startHidden) {
|
||||||
mainWindow.maximize();
|
mainWindow.maximize();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user