mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-15 04:32:13 +00:00
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.
This commit is contained in:
parent
2cf20332f4
commit
9aa106a63f
1 changed files with 0 additions and 1 deletions
|
@ -127,7 +127,6 @@ export class WindowManager {
|
||||||
this.isReadyToShowMainWindow = true;
|
this.isReadyToShowMainWindow = true;
|
||||||
this.splashWindow?.close();
|
this.splashWindow?.close();
|
||||||
this.createMainWindow();
|
this.createMainWindow();
|
||||||
if (this.isMainMaximized) this.mainWindow?.maximize();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static redirect(hash: string) {
|
public static redirect(hash: string) {
|
||||||
|
|
Loading…
Reference in a new issue