mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-03 00:33:49 +03:00
Fix main window maximization from splash
The code checks whether the initial window is maximized, if so, it leaves the main window also maximized.
This commit is contained in:
parent
83c32de0c2
commit
e5cffbe598
@ -119,6 +119,9 @@ export class WindowManager {
|
||||
this.isReadyToShowMainWindow = true;
|
||||
this.splashWindow?.close();
|
||||
this.createMainWindow();
|
||||
if (this.splashWindow?.isMaximized()) {
|
||||
this.mainWindow?.maximize();
|
||||
}
|
||||
}
|
||||
|
||||
public static redirect(hash: string) {
|
||||
|
Loading…
Reference in New Issue
Block a user