Skip to content

Commit 7fedfd3

Browse files
committed
Fix score breakdown tooltips appearing in other feeds
1 parent 5651072 commit 7fedfd3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

osu.Game/Screens/OnlinePlay/DailyChallenge/DailyChallengeScoreBreakdown.cs

+3
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ public partial class DailyChallengeScoreBreakdown : CompositeDrawable
2727

2828
private FillFlowContainer<Bar> barsContainer = null!;
2929

30+
// 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.
31+
public override bool PropagatePositionalInputSubTree => base.PropagatePositionalInputSubTree && Alpha > 0;
32+
3033
private const int bin_count = MultiplayerPlaylistItemStats.TOTAL_SCORE_DISTRIBUTION_BINS;
3134
private long[] bins = new long[bin_count];
3235

0 commit comments

Comments
 (0)