mirror of
https://github.com/ppy/osu.git
synced 2026-06-07 02:13:38 +08:00
Remove no longer required AlwaysPresent definition
This also reverts commit 7fedfd368c as
no-longer-necessary.
This commit is contained in:
@@ -50,7 +50,6 @@ namespace osu.Game.Screens.OnlinePlay.DailyChallenge
|
||||
{
|
||||
drawable.RelativeSizeAxes = Axes.Both;
|
||||
drawable.Size = Vector2.One;
|
||||
drawable.AlwaysPresent = true;
|
||||
drawable.Alpha = 0;
|
||||
|
||||
base.Add(drawable);
|
||||
|
||||
@@ -27,9 +27,6 @@ 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];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user