1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 06:03:08 +08:00
This commit is contained in:
Unknown 2017-11-26 15:03:49 +05:30
parent 4212315504
commit ae201f0ef5
2 changed files with 5 additions and 5 deletions

View File

@ -11,7 +11,6 @@ using osu.Game.Users;
using osu.Game.Rulesets.Replays;
using osu.Game.Rulesets.Scoring;
using osu.Game.Screens.Select.Leaderboards;
using System.Collections.Specialized;
using osu.Framework.IO.Network;
namespace osu.Game.Online.API.Requests

View File

@ -34,9 +34,10 @@ namespace osu.Game.Screens.Select.Leaderboards
private const double fade_duration = 200;
private readonly ScrollContainer scrollContainer;
private readonly Container placeholderContainer;
private readonly FillFlowContainer placeholderFlow;
private FillFlowContainer<LeaderboardScore> scrollFlow;
private Container placeholderContainer;
private FillFlowContainer placeholderFlow;
public Action<Score> ScoreSelected;
@ -63,7 +64,7 @@ namespace osu.Game.Screens.Select.Leaderboards
if (scores == null)
return;
if (scores.Count() == 0)
if (!scores.Any())
{
placeholderFlow.Children = new Drawable[]
{
@ -278,7 +279,7 @@ namespace osu.Game.Screens.Select.Leaderboards
private class RetryButton : BeatSyncedContainer
{
private SpriteIcon icon;
private readonly SpriteIcon icon;
public Action Action;