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:
parent
486fbd2531
commit
7a6666996f
@ -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++));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user