fix window flash when clicking notification
This commit is contained in:
parent
463cd6dc46
commit
4f1615ecb3
1 changed files with 1 additions and 3 deletions
|
@ -69,10 +69,8 @@ handle(IpcEvents.SHOW_ITEM_IN_FOLDER, (_, path) => {
|
|||
});
|
||||
|
||||
handle(IpcEvents.FOCUS, () => {
|
||||
if (process.platform === "win32") mainWin.minimize(); // Windows is weird
|
||||
|
||||
mainWin.restore();
|
||||
mainWin.show();
|
||||
mainWin.setSkipTaskbar(false);
|
||||
});
|
||||
|
||||
handle(IpcEvents.CLOSE, (e, key?: string) => {
|
||||
|
|
Loading…
Reference in a new issue