mirror of
https://github.com/osukey/osukey.git
synced 2025-06-09 05:19:11 +09: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.Replays;
|
||||||
using osu.Game.Rulesets.Scoring;
|
using osu.Game.Rulesets.Scoring;
|
||||||
using osu.Game.Screens.Select.Leaderboards;
|
using osu.Game.Screens.Select.Leaderboards;
|
||||||
using System.Collections.Specialized;
|
|
||||||
using osu.Framework.IO.Network;
|
using osu.Framework.IO.Network;
|
||||||
|
|
||||||
namespace osu.Game.Online.API.Requests
|
namespace osu.Game.Online.API.Requests
|
||||||
|
@ -34,9 +34,10 @@ namespace osu.Game.Screens.Select.Leaderboards
|
|||||||
private const double fade_duration = 200;
|
private const double fade_duration = 200;
|
||||||
|
|
||||||
private readonly ScrollContainer scrollContainer;
|
private readonly ScrollContainer scrollContainer;
|
||||||
|
private readonly Container placeholderContainer;
|
||||||
|
private readonly FillFlowContainer placeholderFlow;
|
||||||
|
|
||||||
private FillFlowContainer<LeaderboardScore> scrollFlow;
|
private FillFlowContainer<LeaderboardScore> scrollFlow;
|
||||||
private Container placeholderContainer;
|
|
||||||
private FillFlowContainer placeholderFlow;
|
|
||||||
|
|
||||||
public Action<Score> ScoreSelected;
|
public Action<Score> ScoreSelected;
|
||||||
|
|
||||||
@ -63,7 +64,7 @@ namespace osu.Game.Screens.Select.Leaderboards
|
|||||||
if (scores == null)
|
if (scores == null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (scores.Count() == 0)
|
if (!scores.Any())
|
||||||
{
|
{
|
||||||
placeholderFlow.Children = new Drawable[]
|
placeholderFlow.Children = new Drawable[]
|
||||||
{
|
{
|
||||||
@ -278,7 +279,7 @@ namespace osu.Game.Screens.Select.Leaderboards
|
|||||||
|
|
||||||
private class RetryButton : BeatSyncedContainer
|
private class RetryButton : BeatSyncedContainer
|
||||||
{
|
{
|
||||||
private SpriteIcon icon;
|
private readonly SpriteIcon icon;
|
||||||
|
|
||||||
public Action Action;
|
public Action Action;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user