mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-03 00:33:49 +03:00
fix: open dev tools on main window when editor window is ready
This commit is contained in:
parent
6a6e3ca7da
commit
4758b8c05a
@ -244,9 +244,8 @@ export class WindowManager {
|
||||
|
||||
editorWindow.once("ready-to-show", () => {
|
||||
editorWindow.show();
|
||||
});
|
||||
|
||||
WindowManager.mainWindow?.webContents.openDevTools();
|
||||
});
|
||||
|
||||
editorWindow.webContents.on("before-input-event", (event, input) => {
|
||||
if (input.key === "F12") {
|
||||
|
Loading…
Reference in New Issue
Block a user