mirror of
https://github.com/ppy/osu
synced 2025-02-19 20:06:53 +00: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;
|
private int drawableItemIndex;
|
||||||
|
|
||||||
protected override Drawable CreateDrawableItem(SoloScoreInfo item)
|
protected override Drawable CreateDrawableItem(SoloScoreInfo model)
|
||||||
{
|
{
|
||||||
switch (type)
|
switch (type)
|
||||||
{
|
{
|
||||||
default:
|
default:
|
||||||
return new DrawableProfileScore(item);
|
return new DrawableProfileScore(model);
|
||||||
|
|
||||||
case ScoreType.Best:
|
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