diff --git a/src/native/window.ts b/src/native/window.ts index 356ab2d..2d54825 100644 --- a/src/native/window.ts +++ b/src/native/window.ts @@ -152,7 +152,6 @@ export function createMainWindow() { event.preventDefault(); mainWindow.webContents.reload(); } else if (input.key === "F12") { - event.preventDefault(); if (mainWindow.webContents.isDevToolsOpened()) { mainWindow.webContents.closeDevTools(); } else { @@ -163,7 +162,6 @@ export function createMainWindow() { input.key === "," && process.platform === "darwin" ) { - event.preventDefault(); mainWindow.webContents.executeJavaScript(`(() => { var escButton = document.querySelector("#floating .top_0 > button"); var settingsPanel = document.querySelector("#root div[aria-label='Settings'] > a");