Skip to content

Commit

Permalink
Fixes #1187.
Browse files Browse the repository at this point in the history
  • Loading branch information
enesonus committed Apr 2, 2023
1 parent 7ed3aae commit 3b27bcd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,9 @@ function createMainWindow(): BrowserWindow {
if (process.platform === "darwin") {
if (win.isFullScreen()) {
win.setFullScreen(false);
win.once("leave-full-screen", () => app.hide());
win.once("leave-full-screen", () => {
app.hide();
});
}
} else {
win.hide();
Expand Down

0 comments on commit 3b27bcd

Please sign in to comment.