Persist flashing of taskbar on Windows until window is focused
Fixes #1679.
This commit is contained in:
parent
5a4773fee7
commit
4e01ca5135
1 changed files with 0 additions and 3 deletions
3
main.js
3
main.js
|
@ -514,9 +514,6 @@ ipc.on('draw-attention', () => {
|
|||
app.dock.bounce();
|
||||
} else if (process.platform === 'win32') {
|
||||
mainWindow.flashFrame(true);
|
||||
setTimeout(() => {
|
||||
mainWindow.flashFrame(false);
|
||||
}, 1000);
|
||||
} else if (process.platform === 'linux') {
|
||||
mainWindow.flashFrame(true);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue