mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 23:24:04 +09:00
item -> model
This commit is contained in:
@ -40,15 +40,15 @@ namespace osu.Game.Overlays.Profile.Sections.Ranks
|
||||
protected override APIRequest<List<APILegacyScoreInfo>> CreateRequest() =>
|
||||
new GetUserScoresRequest(User.Value.Id, type, VisiblePages++, ItemsPerPage);
|
||||
|
||||
protected override Drawable CreateDrawableItem(APILegacyScoreInfo item)
|
||||
protected override Drawable CreateDrawableItem(APILegacyScoreInfo model)
|
||||
{
|
||||
switch (type)
|
||||
{
|
||||
default:
|
||||
return new DrawablePerformanceScore(item, includeWeight ? Math.Pow(0.95, ItemsContainer.Count) : (double?)null);
|
||||
return new DrawablePerformanceScore(model, includeWeight ? Math.Pow(0.95, ItemsContainer.Count) : (double?)null);
|
||||
|
||||
case ScoreType.Recent:
|
||||
return new DrawableTotalScore(item);
|
||||
return new DrawableTotalScore(model);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user