mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 06:03:08 +08:00
R#
This commit is contained in:
parent
4212315504
commit
ae201f0ef5
@ -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
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user