Make beatmap download buttons inherit BeatmapDownloadTrackingComposite

- Move DownloadTrackingComposite into the online namespace
This commit is contained in:
naoey
2019-06-11 23:01:01 +05:30
parent 4a6074865e
commit ab27d82cd5
8 changed files with 55 additions and 32 deletions

View File

@ -0,0 +1,16 @@
using osu.Framework.Bindables;
using osu.Game.Beatmaps;
using osu.Game.Online;
namespace osu.Game.Overlays.Direct
{
public abstract class BeatmapDownloadTrackingComposite : DownloadTrackingComposite<BeatmapSetInfo, BeatmapManager>
{
public Bindable<BeatmapSetInfo> BeatmapSet => ModelInfo;
public BeatmapDownloadTrackingComposite(BeatmapSetInfo set = null)
: base(set)
{
}
}
}