mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-02 05:43:40 +01:00
fix: Fix a bug where flashIfOpen's behavior was inverted. (#1468)
This commit is contained in:
parent
e4d175d5cb
commit
2405dca9e1
1 changed files with 1 additions and 1 deletions
|
|
@ -620,7 +620,7 @@ public static class Util
|
||||||
/// <param name="flashIfOpen">Attempt to flash even if the game is currently focused.</param>
|
/// <param name="flashIfOpen">Attempt to flash even if the game is currently focused.</param>
|
||||||
public static void FlashWindow(bool flashIfOpen = false)
|
public static void FlashWindow(bool flashIfOpen = false)
|
||||||
{
|
{
|
||||||
if (NativeFunctions.ApplicationIsActivated() && flashIfOpen)
|
if (NativeFunctions.ApplicationIsActivated() && !flashIfOpen)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
var flashInfo = new NativeFunctions.FlashWindowInfo
|
var flashInfo = new NativeFunctions.FlashWindowInfo
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue