mirror of https://github.com/ppy/osu
Rename incorrectly named container
This commit is contained in:
parent
880f7ddca7
commit
0cc1698b6d
|
@ -34,7 +34,7 @@ public class ScoresContainer : CompositeDrawable
|
|||
private readonly ScoreTable scoreTable;
|
||||
private readonly FillFlowContainer topScoresContainer;
|
||||
private readonly DimmedLoadingLayer loading;
|
||||
private readonly FillFlowContainer modFilter;
|
||||
private readonly FillFlowContainer filterControls;
|
||||
private readonly LeaderboardModSelector modSelector;
|
||||
private readonly NoScoresPlaceholder noScoresPlaceholder;
|
||||
private readonly FillFlowContainer content;
|
||||
|
@ -94,7 +94,7 @@ public ScoresContainer()
|
|||
Margin = new MarginPadding { Vertical = spacing },
|
||||
Children = new Drawable[]
|
||||
{
|
||||
modFilter = new FillFlowContainer
|
||||
filterControls = new FillFlowContainer
|
||||
{
|
||||
Anchor = Anchor.TopCentre,
|
||||
Origin = Anchor.TopCentre,
|
||||
|
@ -207,7 +207,7 @@ private void onUserChanged(ValueChangedEvent<User> user)
|
|||
{
|
||||
scope.Value = BeatmapLeaderboardScope.Global;
|
||||
modSelector.DeselectAll();
|
||||
modFilter.FadeTo(api.IsLoggedIn && api.LocalUser.Value.IsSupporter ? 1 : 0);
|
||||
filterControls.FadeTo(api.IsLoggedIn && api.LocalUser.Value.IsSupporter ? 1 : 0);
|
||||
}
|
||||
|
||||
private void getScores()
|
||||
|
|
Loading…
Reference in New Issue