From 61072aa02a1a36702e03687a34e3864ae53cee72 Mon Sep 17 00:00:00 2001 From: Zamitto <167933696+zamitto@users.noreply.github.com> Date: Mon, 27 Oct 2025 15:25:18 -0300 Subject: [PATCH] fix: add theme editor dev tools back --- src/main/services/window-manager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/services/window-manager.ts b/src/main/services/window-manager.ts index 178eb8de..118ff98b 100644 --- a/src/main/services/window-manager.ts +++ b/src/main/services/window-manager.ts @@ -470,7 +470,7 @@ export class WindowManager { editorWindow.webContents.on("before-input-event", (_event, input) => { if (input.key === "F12") { - editorWindow.webContents.toggleDevTools(); + this.mainWindow?.webContents.toggleDevTools(); } });