Add context menu to beatmap set header

This commit is contained in:
Dean Herbert
2017-08-30 20:41:41 +09:00
parent 2742fe46cf
commit 07da29ea1c
4 changed files with 37 additions and 6 deletions

View File

@ -23,6 +23,8 @@ namespace osu.Game.Beatmaps.Drawables
/// </summary>
public Action<BeatmapInfo> StartRequested;
public Action<WorkingBeatmap> DeleteRequested;
public BeatmapSetHeader Header;
private BeatmapGroupState state;
@ -66,6 +68,7 @@ namespace osu.Game.Beatmaps.Drawables
Header = new BeatmapSetHeader(beatmap)
{
GainedSelection = headerGainedSelection,
DeleteRequested = b => DeleteRequested(b),
RelativeSizeAxes = Axes.X,
};