mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 02:42:54 +08:00
ScoreContainer -> PaginatedScoreContainer
This commit is contained in:
parent
dce7d1c910
commit
b660366d96
@ -14,7 +14,7 @@ namespace osu.Game.Overlays.Profile.Sections
|
||||
|
||||
public HistoricalSection()
|
||||
{
|
||||
Child = new ScoreContainer(ScoreType.Recent, User, "Recent Plays (24h)");
|
||||
Child = new PaginatedScoreContainer(ScoreType.Recent, User, "Recent Plays (24h)");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ using System.Linq;
|
||||
|
||||
namespace osu.Game.Overlays.Profile.Sections.Ranks
|
||||
{
|
||||
public class ScoreContainer : FillFlowContainer
|
||||
public class PaginatedScoreContainer : FillFlowContainer
|
||||
{
|
||||
private readonly FillFlowContainer<DrawableScore> scoreContainer;
|
||||
private readonly OsuSpriteText missing;
|
||||
@ -42,7 +42,7 @@ namespace osu.Game.Overlays.Profile.Sections.Ranks
|
||||
showMore();
|
||||
}
|
||||
|
||||
public ScoreContainer(ScoreType type, Bindable<User> user, string header, bool includeWeight = false)
|
||||
public PaginatedScoreContainer(ScoreType type, Bindable<User> user, string header, bool includeWeight = false)
|
||||
{
|
||||
this.type = type;
|
||||
this.includeWeight = includeWeight;
|
@ -16,8 +16,8 @@ namespace osu.Game.Overlays.Profile.Sections
|
||||
{
|
||||
Children = new[]
|
||||
{
|
||||
new ScoreContainer(ScoreType.Best, User, "Best Performance", true),
|
||||
new ScoreContainer(ScoreType.Firsts, User, "First Place Ranks"),
|
||||
new PaginatedScoreContainer(ScoreType.Best, User, "Best Performance", true),
|
||||
new PaginatedScoreContainer(ScoreType.Firsts, User, "First Place Ranks"),
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@ -295,7 +295,7 @@
|
||||
<Compile Include="Online\API\Requests\GetBeatmapSetRequest.cs" />
|
||||
<Compile Include="Online\API\Requests\GetBeatmapSetsResponse.cs" />
|
||||
<Compile Include="Overlays\Profile\Sections\Ranks\DrawablePerformanceScore.cs" />
|
||||
<Compile Include="Overlays\Profile\Sections\Ranks\ScoreContainer.cs" />
|
||||
<Compile Include="Overlays\Profile\Sections\Ranks\PaginatedScoreContainer.cs" />
|
||||
<Compile Include="Overlays\Settings\SettingsButton.cs" />
|
||||
<Compile Include="Screens\Edit\Screens\Compose\Timeline\BeatmapWaveformGraph.cs" />
|
||||
<Compile Include="Beatmaps\Drawables\DifficultyColouredContainer.cs" />
|
||||
|
Loading…
Reference in New Issue
Block a user