From 9aa106a63fee8c6f94aaad902eaa85ed79c1cf62 Mon Sep 17 00:00:00 2001 From: Kdu Date: Sat, 25 May 2024 19:33:38 -0300 Subject: [PATCH] Update to fix main window maximizing from splash The code checks whether the initial window starts maximized; If so, it prevents the splash from starting maximized and leaves the main window maximized. --- src/main/services/window-manager.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/services/window-manager.ts b/src/main/services/window-manager.ts index 2a14c60a..7b2c87b7 100644 --- a/src/main/services/window-manager.ts +++ b/src/main/services/window-manager.ts @@ -127,7 +127,6 @@ export class WindowManager { this.isReadyToShowMainWindow = true; this.splashWindow?.close(); this.createMainWindow(); - if (this.isMainMaximized) this.mainWindow?.maximize(); } public static redirect(hash: string) {