Skip to content

Commit

Permalink
chore: drop obsolete Tier7 pre-lobby hiding when friends list is open
Browse files Browse the repository at this point in the history
...as we now have overlay masking.
  • Loading branch information
beheh committed Sep 3, 2024
1 parent a926be3 commit bc7d936
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions HearthWatcher/EventArgs/BaconEventArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ public BaconEventArgs(
SelectedBattlegroundsGameMode = selectedBattlegroundsGameMode;
}

public bool IsAnyOpen => IsShopOpen || IsJournalOpen || IsPopupShowing || IsFriendslistOpen || IsBlurActive;

public override bool Equals(object obj) => obj is BaconEventArgs args
&& IsShopOpen == args.IsShopOpen
&& IsJournalOpen == args.IsJournalOpen
Expand Down
2 changes: 1 addition & 1 deletion Hearthstone Deck Tracker/Hearthstone/Watchers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ internal static void Stop()

internal static void OnBaconChange(object sender, HearthWatcher.EventArgs.BaconEventArgs args)
{
Core.Overlay.SetBaconState(args.SelectedBattlegroundsGameMode, args.IsAnyOpen);
Core.Overlay.SetBaconState(args.SelectedBattlegroundsGameMode, args.IsShopOpen || args.IsJournalOpen || args.IsPopupShowing || args.IsBlurActive);

Core.Overlay.SetFriendListOpacityMask(args.IsFriendslistOpen);
}
Expand Down

0 comments on commit bc7d936

Please sign in to comment.