Revert some changes

This commit is contained in:
smoogipoo
2021-08-31 18:56:26 +09:00
parent 90768a86a6
commit bfcadcc4ac
5 changed files with 32 additions and 66 deletions

View File

@ -19,7 +19,6 @@ using osu.Game.Graphics.Cursor;
using osu.Game.Graphics.UserInterface;
using osu.Game.Online.API;
using osu.Game.Online.Placeholders;
using osu.Game.Rulesets.Scoring;
using osuTK;
using osuTK.Graphics;
@ -29,7 +28,6 @@ namespace osu.Game.Online.Leaderboards
{
private const double fade_duration = 300;
private readonly Bindable<ScoringMode> scoringMode = new Bindable<ScoringMode>();
private readonly OsuScrollContainer scrollContainer;
private readonly Container placeholderContainer;
private readonly UserTopScoreContainer<TScoreInfo> topScoreContainer;
@ -255,9 +253,6 @@ namespace osu.Game.Online.Leaderboards
apiState.BindTo(api.State);
apiState.BindValueChanged(onlineStateChanged, true);
configManager.BindWith(OsuSetting.ScoreDisplayMode, scoringMode);
scoringMode.BindValueChanged(_ => RefreshScores(), true);
}
private APIRequest getScoresRequest;

View File

@ -199,7 +199,7 @@ namespace osu.Game.Online.Leaderboards
TextColour = Color4.White,
GlowColour = Color4Extensions.FromHex(@"83ccfa"),
Font = OsuFont.Numeric.With(size: 23),
Text = scoreManager.GetTotalScore(score).ToLocalisableString(@"N0"),
Current = scoreManager.GetBindableTotalScoreString(score)
},
RankContainer = new Container
{