Refactor beatmap set covers into using ModelBackedDrawable<T>

This commit is contained in:
Salman Ahmed
2021-01-23 23:28:46 +03:00
parent d83abfa7d2
commit acfb2d2980
3 changed files with 44 additions and 62 deletions

View File

@ -41,12 +41,11 @@ namespace osu.Game.Overlays.Profile.Sections.Historical
{
AddRangeInternal(new Drawable[]
{
new UpdateableBeatmapSetCover
new UpdateableBeatmapSetCover(BeatmapSetCoverType.List)
{
RelativeSizeAxes = Axes.Y,
Width = cover_width,
BeatmapSet = beatmap.BeatmapSet,
CoverType = BeatmapSetCoverType.List,
},
new Container
{