mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 15:44:04 +09:00
Revert some changes
This commit is contained in:
@ -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;
|
||||
|
@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user