This commit is contained in:
Andrei Zavatski 2019-08-27 16:09:37 +03:00
parent 9a383eee1a
commit 5fd43d42f4
2 changed files with 3 additions and 3 deletions

View File

@ -116,7 +116,7 @@ namespace osu.Game.Overlays.Profile.Sections
return;
}
LoadComponentsAsync(items.Where(item => AllowCreate(item)).Select(CreateDrawableItem), drawables =>
LoadComponentsAsync(items.Where(AllowCreate).Select(CreateDrawableItem), drawables =>
{
missingText.Hide();
moreButton.FadeTo(items.Count == ItemsPerPage ? 1 : 0);

View File

@ -45,10 +45,10 @@ namespace osu.Game.Overlays.Profile.Sections.Ranks
switch (type)
{
default:
return new DrawablePerformanceScore(item, includeWeight ? Math.Pow(0.95, ItemsContainer.Count) : (double?)null);
return new DrawablePerformanceScore(item, includeWeight ? Math.Pow(0.95, ItemsContainer.Count) : (double?)null);
case ScoreType.Recent:
return new DrawableTotalScore(item);
return new DrawableTotalScore(item);
}
}
}