mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-09 03:37:45 +03:00
fix: close dev tools when editor window closes
This commit is contained in:
parent
613d8caa6f
commit
56e686f1f0
@ -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…
Reference in New Issue
Block a user