1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-03 20:43:22 +08:00

Merge pull request #29159 from frenzibyte/fix-daily-challenge-hover

Fix score breakdown tooltips appearing in other feeds
This commit is contained in:
Bartłomiej Dach 2024-07-29 10:14:32 +02:00 committed by GitHub
commit efd1919bfe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,6 +27,9 @@ namespace osu.Game.Screens.OnlinePlay.DailyChallenge
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];