mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-02-01 19:15:07 +01:00
fix
This commit is contained in:
@@ -199,10 +199,6 @@ export class WindowManager {
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
if (userPreferences?.preferQuitInsteadOfHiding) {
|
|
||||||
app.quit();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (this.mainWindow) {
|
if (this.mainWindow) {
|
||||||
const lastBounds = this.mainWindow.getBounds();
|
const lastBounds = this.mainWindow.getBounds();
|
||||||
const isMaximized = this.mainWindow.isMaximized() ?? false;
|
const isMaximized = this.mainWindow.isMaximized() ?? false;
|
||||||
@@ -218,6 +214,11 @@ export class WindowManager {
|
|||||||
|
|
||||||
await this.saveScreenConfig(screenConfig);
|
await this.saveScreenConfig(screenConfig);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (userPreferences?.preferQuitInsteadOfHiding) {
|
||||||
|
app.quit();
|
||||||
|
}
|
||||||
|
|
||||||
WindowManager.mainWindow?.setProgressBar(-1);
|
WindowManager.mainWindow?.setProgressBar(-1);
|
||||||
WindowManager.mainWindow = null;
|
WindowManager.mainWindow = null;
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user