Manage subtitle inside of DownloadButton.

This commit is contained in:
DrabWeb
2018-06-06 03:13:37 -03:00
parent 80951eae68
commit df4c855aa2
2 changed files with 10 additions and 5 deletions

View File

@ -70,8 +70,8 @@ namespace osu.Game.Overlays.BeatmapSet
{
videoButtons.Children = new[]
{
new DownloadButton("Download", "with Video", BeatmapSet),
new DownloadButton("Download", "without Video", BeatmapSet, true),
new DownloadButton(BeatmapSet),
new DownloadButton(BeatmapSet, true),
};
videoButtons.FadeIn(transition_duration);
@ -79,7 +79,7 @@ namespace osu.Game.Overlays.BeatmapSet
}
else
{
noVideoButtons.Child = new DownloadButton("Download", string.Empty, BeatmapSet);
noVideoButtons.Child = new DownloadButton(BeatmapSet);
noVideoButtons.FadeIn(transition_duration);
videoButtons.FadeOut(transition_duration);