mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 22:22:54 +08:00
Fix inspections / typos
This commit is contained in:
parent
d17c091d63
commit
e4f522aad1
@ -62,7 +62,7 @@ namespace osu.Game.Screens.Play.HUD
|
|||||||
{
|
{
|
||||||
base.LoadComplete();
|
base.LoadComplete();
|
||||||
|
|
||||||
Scheduler.AddDelayed(sort, 1000, true);
|
Scheduler.AddDelayed(Sort, 1000, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -158,7 +158,7 @@ namespace osu.Game.Screens.Play.HUD
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protected virtual void sort()
|
protected virtual void Sort()
|
||||||
{
|
{
|
||||||
if (sorting.IsValid)
|
if (sorting.IsValid)
|
||||||
return;
|
return;
|
||||||
|
@ -100,13 +100,13 @@ namespace osu.Game.Screens.Play.HUD
|
|||||||
local.DisplayOrder.Value = long.MaxValue;
|
local.DisplayOrder.Value = long.MaxValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void sort()
|
protected override void Sort()
|
||||||
{
|
{
|
||||||
base.sort();
|
base.Sort();
|
||||||
|
|
||||||
if (scoresType.Value != PlayBeatmapDetailArea.TabType.Local)
|
if (scoresType.Value != PlayBeatmapDetailArea.TabType.Local)
|
||||||
{
|
{
|
||||||
// change displayed potision to '-' when there are 50 already submitted scores and tracked score is last
|
// change displayed position to '-' when there are 50 already submitted scores and tracked score is last
|
||||||
if (TrackedScore?.ScorePosition == Flow.Count && Flow.Count > GetScoresRequest.MAX_SCORES_PER_REQUEST)
|
if (TrackedScore?.ScorePosition == Flow.Count && Flow.Count > GetScoresRequest.MAX_SCORES_PER_REQUEST)
|
||||||
TrackedScore.ScorePosition = null;
|
TrackedScore.ScorePosition = null;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user