Fix MedalIcon usage

This commit is contained in:
Dean Herbert
2019-11-29 16:19:57 +09:00
parent 3fc2afeb26
commit 5dbc32f49b
2 changed files with 22 additions and 20 deletions

View File

@ -66,11 +66,14 @@ namespace osu.Game.Overlays.Profile.Sections.Recent
};
case RecentActivityType.Achievement:
return new MedalIcon(activity.Achievement.Slug)
return new DelayedLoadWrapper(new MedalIcon(activity.Achievement.Slug)
{
RelativeSizeAxes = Axes.Both,
FillMode = FillMode.Fit,
})
{
RelativeSizeAxes = Axes.Y,
Width = 60,
FillMode = FillMode.Fit,
};
default: