Skip to content

Commit

Permalink
Show and focus instead of toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverschwendener committed Dec 12, 2024
1 parent c1c43c9 commit 6107102
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/Core/BrowserWindow/BrowserWindowModule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export class BrowserWindowModule {

ipcMain.on("escapePressed", () => shouldHideWindowOnEscapePressed() && browserWindowToggler.hide());

app.on("second-instance", () => browserWindowToggler.toggle());
app.on("second-instance", () => browserWindowToggler.showAndFocus());

BrowserWindowModule.registerUeliCommandEvents(browserWindow, eventSubscriber, browserWindowToggler);
}
Expand Down

0 comments on commit 6107102

Please sign in to comment.