mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
fix: close dev tools when editor window closes
This commit is contained in:
parent
613d8caa6f
commit
56e686f1f0
2 changed files with 4 additions and 1 deletions
|
@ -238,6 +238,10 @@ export class WindowManager {
|
|||
editorWindow.once("ready-to-show", () => {
|
||||
editorWindow.show();
|
||||
});
|
||||
|
||||
editorWindow.on("close", () => {
|
||||
this.mainWindow?.webContents.closeDevTools();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -86,7 +86,6 @@ export const ThemeCard = ({ theme, onListUpdated }: ThemeCardProps) => {
|
|||
className="theme-card__header__colors__color"
|
||||
key={key}
|
||||
>
|
||||
{/* color circle */}
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue