mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-10 01:01:45 +00:00
Fix lint
This commit is contained in:
@@ -505,7 +505,7 @@ app.on("ready", async () => {
|
|||||||
|
|
||||||
global.mainWindow.webContents.on("before-input-event", (event: Event, input: Input): void => {
|
global.mainWindow.webContents.on("before-input-event", (event: Event, input: Input): void => {
|
||||||
const exitShortcutPressed =
|
const exitShortcutPressed =
|
||||||
input.type === "keyDown" && exitShortcuts.some((shortcutFn) => shortcutFn(input, process.platform));
|
input.type === "keyDown" && exitShortcuts.some((shortcutFn) => shortcutFn(input, process.platform));
|
||||||
|
|
||||||
// We only care about the exit shortcuts here
|
// We only care about the exit shortcuts here
|
||||||
if (!exitShortcutPressed || !global.mainWindow) return;
|
if (!exitShortcutPressed || !global.mainWindow) return;
|
||||||
|
|||||||
Reference in New Issue
Block a user