Skip to content

Commit

Permalink
focusAppWindow fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JasminDreasond committed Aug 16, 2023
1 parent df333d5 commit 9d4da41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion electron/main/events/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default function startEvents(ipcMain, newWin) {
ipcMain.on('tiny-focus-window', (event) => {
const webContents = event.sender;
const tinyWin = BrowserWindow.fromWebContents(webContents);
if (tinyWin) setTimeout(() => { tinyWin.focus(); }, 200);
if (tinyWin) setTimeout(() => { tinyWin.show(); tinyWin.focus(); }, 200);
});

};

0 comments on commit 9d4da41

Please sign in to comment.