mirror of https://github.com/ppy/osu
parent
e6cac4a675
commit
acfdd32783
|
@ -26,14 +26,20 @@ public class DrawableCarouselBeatmap : DrawableCarouselItem, IHasContextMenu
|
|||
{
|
||||
private readonly BeatmapInfo beatmap;
|
||||
|
||||
private readonly Sprite background;
|
||||
private Sprite background;
|
||||
|
||||
public Action<BeatmapInfo> StartRequested;
|
||||
public Action<BeatmapInfo> EditRequested;
|
||||
public Action<BeatmapInfo> HideRequested;
|
||||
|
||||
private readonly Triangles triangles;
|
||||
private readonly StarCounter starCounter;
|
||||
private Triangles triangles;
|
||||
private StarCounter starCounter;
|
||||
|
||||
public DrawableCarouselBeatmap(CarouselBeatmap panel) : base(panel)
|
||||
{
|
||||
beatmap = panel.Beatmap;
|
||||
Height *= 0.60f;
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader(true)]
|
||||
private void load(SongSelect songSelect, BeatmapManager manager)
|
||||
|
@ -46,13 +52,6 @@ private void load(SongSelect songSelect, BeatmapManager manager)
|
|||
|
||||
if (manager != null)
|
||||
HideRequested = manager.Hide;
|
||||
}
|
||||
|
||||
public DrawableCarouselBeatmap(CarouselBeatmap panel)
|
||||
: base(panel)
|
||||
{
|
||||
beatmap = panel.Beatmap;
|
||||
Height *= 0.60f;
|
||||
|
||||
Children = new Drawable[]
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue