Skip to content

Commit

Permalink
Fix for the unstoppable flashing taskbar
Browse files Browse the repository at this point in the history
  • Loading branch information
easly1989 committed Nov 3, 2019
1 parent 8d95e03 commit 39515f0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
9 changes: 8 additions & 1 deletion DFAssist/Helpers/TaskbarFlashHelper.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
using Splat;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
Expand Down Expand Up @@ -78,6 +79,12 @@ private static bool FlashWindowEx(IntPtr hWnd)

protected override void OnSendNotification(string title, string message, string testing)
{
if(!MainControl.FlashTaskbar.Checked)
{
Logger.Write("UI: Taskbar Flashing is disabled", LogLevel.Debug);
return;
}

var proc = FFXIVNetworkProcessHelper.Instance.ActiveProcess;
if (proc != null)
{
Expand Down
4 changes: 2 additions & 2 deletions SharedAssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@
// to distinguish one build from another. AssemblyFileVersion is specified
// in AssemblyVersionInfo.cs so that it can be easily incremented by the
// automated build process.
[assembly: AssemblyVersion("2.0.8")]
[assembly: AssemblyVersion("2.0.9")]

// By default, the "Product version" shown in the file properties window is
// the same as the value specified for AssemblyFileVersionAttribute.
// Set AssemblyInformationalVersionAttribute to be the same as
// AssemblyVersionAttribute so that the "Product version" in the file
// properties window matches the version displayed in the GAC shell extension.
[assembly: AssemblyInformationalVersion("2.0.8")] // a.k.a. "Product version"
[assembly: AssemblyInformationalVersion("2.0.9")] // a.k.a. "Product version"

0 comments on commit 39515f0

Please sign in to comment.