mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Manage subtitle inside of DownloadButton.
This commit is contained in:
@ -13,10 +13,15 @@ namespace osu.Game.Overlays.BeatmapSet.Buttons
|
||||
{
|
||||
public class DownloadButton : HeaderButton
|
||||
{
|
||||
public DownloadButton(string title, string subtitle, BeatmapSetInfo set, bool noVideo = false)
|
||||
public DownloadButton(BeatmapSetInfo set, bool noVideo = false)
|
||||
{
|
||||
Width = 120;
|
||||
|
||||
string subtitle = string.Empty;
|
||||
|
||||
if (set.OnlineInfo.HasVideo)
|
||||
subtitle = noVideo ? "without Video" : "with Video";
|
||||
|
||||
BeatmapSetDownloader downloader;
|
||||
Add(new Container
|
||||
{
|
||||
@ -36,7 +41,7 @@ namespace osu.Game.Overlays.BeatmapSet.Buttons
|
||||
{
|
||||
new OsuSpriteText
|
||||
{
|
||||
Text = title,
|
||||
Text = "Download",
|
||||
TextSize = 13,
|
||||
Font = @"Exo2.0-Bold",
|
||||
},
|
||||
|
Reference in New Issue
Block a user