From 4e01ca51359b255c77cf8b1af082d6192ece7b1c Mon Sep 17 00:00:00 2001 From: Daniel Gasienica Date: Mon, 26 Feb 2018 14:54:45 -0500 Subject: [PATCH] Persist flashing of taskbar on Windows until window is focused Fixes #1679. --- main.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/main.js b/main.js index 766749abd..a90ed0009 100644 --- a/main.js +++ b/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); }