mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 15:16:38 +09:00
Handle multiple song previews playing in different beatmap categories on profile
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
||||
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||
|
||||
using System;
|
||||
using OpenTK;
|
||||
using osu.Framework.Configuration;
|
||||
using osu.Framework.Graphics;
|
||||
@ -19,6 +20,8 @@ namespace osu.Game.Overlays.Profile.Sections.Beatmaps
|
||||
|
||||
private DirectPanel currentlyPlaying;
|
||||
|
||||
public event Action<DirectGridPanel> BeatmapAdded;
|
||||
|
||||
public PaginatedBeatmapContainer(BeatmapSetType type, Bindable<User> user, string header, string missing = "None... yet.")
|
||||
: base(user, header, missing)
|
||||
{
|
||||
@ -63,6 +66,7 @@ namespace osu.Game.Overlays.Profile.Sections.Beatmaps
|
||||
|
||||
currentlyPlaying = panel;
|
||||
};
|
||||
BeatmapAdded?.Invoke(panel);
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user