Update DirectPanel to use BeatmapSetDownloadButton.

This commit is contained in:
DrabWeb
2018-06-04 06:29:35 -03:00
parent 7b7236929a
commit b332c22fe5
5 changed files with 21 additions and 45 deletions

View File

@ -166,14 +166,13 @@ namespace osu.Game.Overlays.Direct
},
},
},
new DownloadButton
new DownloadButton(SetInfo)
{
Size = new Vector2(30),
Margin = new MarginPadding(horizontal_padding),
Anchor = Anchor.CentreRight,
Origin = Anchor.CentreRight,
Colour = colours.Gray5,
Action = StartDownload
},
},
},