Skip to content

Commit

Permalink
Fix score breakdown tooltips appearing in other feeds
Browse files Browse the repository at this point in the history
  • Loading branch information
frenzibyte committed Jul 28, 2024
1 parent 5651072 commit 7fedfd3
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ public partial class DailyChallengeScoreBreakdown : CompositeDrawable

private FillFlowContainer<Bar> barsContainer = null!;

// we're always present so that we can update while hidden, but we don't want tooltips to be displayed, therefore directly use alpha comparison here.
public override bool PropagatePositionalInputSubTree => base.PropagatePositionalInputSubTree && Alpha > 0;

private const int bin_count = MultiplayerPlaylistItemStats.TOTAL_SCORE_DISTRIBUTION_BINS;
private long[] bins = new long[bin_count];

Expand Down

0 comments on commit 7fedfd3

Please sign in to comment.