mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 10:33:30 +08:00
parent
8a839f64ed
commit
9d2c82452c
@ -248,7 +248,7 @@ namespace osu.Game.Screens.Ranking
|
||||
|
||||
lastFetchCompleted = true;
|
||||
|
||||
if (!scores.Any())
|
||||
if (ScorePanelList.IsEmpty)
|
||||
{
|
||||
// This can happen if for example a beatmap that is part of a playlist hasn't been played yet.
|
||||
VerticalScrollContent.Add(new MessagePlaceholder(LeaderboardStrings.NoRecordsYet));
|
||||
|
@ -49,6 +49,8 @@ namespace osu.Game.Screens.Ranking
|
||||
|
||||
public bool AllPanelsVisible => flow.All(p => p.IsPresent);
|
||||
|
||||
public bool IsEmpty => flow.Count == 0;
|
||||
|
||||
/// <summary>
|
||||
/// The current scroll position.
|
||||
/// </summary>
|
||||
|
Loading…
Reference in New Issue
Block a user