1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 08:02:55 +08:00

rename item to model in CreateDrawableItem

This commit is contained in:
tsunyoku 2022-07-17 14:50:53 +01:00
parent 486fbd2531
commit 7a6666996f

View File

@ -67,15 +67,15 @@ namespace osu.Game.Overlays.Profile.Sections.Ranks
private int drawableItemIndex;
protected override Drawable CreateDrawableItem(SoloScoreInfo item)
protected override Drawable CreateDrawableItem(SoloScoreInfo model)
{
switch (type)
{
default:
return new DrawableProfileScore(item);
return new DrawableProfileScore(model);
case ScoreType.Best:
return new DrawableProfileWeightedScore(item, Math.Pow(0.95, drawableItemIndex++));
return new DrawableProfileWeightedScore(model, Math.Pow(0.95, drawableItemIndex++));
}
}
}