diff --git a/src/main/services/window-manager.ts b/src/main/services/window-manager.ts index dc780b9c..3934144a 100644 --- a/src/main/services/window-manager.ts +++ b/src/main/services/window-manager.ts @@ -244,10 +244,9 @@ export class WindowManager { editorWindow.once("ready-to-show", () => { editorWindow.show(); + WindowManager.mainWindow?.webContents.openDevTools(); }); - WindowManager.mainWindow?.webContents.openDevTools(); - editorWindow.webContents.on("before-input-event", (event, input) => { if (input.key === "F12") { event.preventDefault();