1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-19 07:43:01 +08:00

Add back the sample into OsuContextMenu

This commit is contained in:
jkh675 2024-08-06 12:37:46 +08:00
parent 59ff549b4d
commit 22ab6f577c

View File

@ -17,6 +17,11 @@ namespace osu.Game.Graphics.Cursor
protected override Menu CreateMenu() => menu = new OsuContextMenu(true); protected override Menu CreateMenu() => menu = new OsuContextMenu(true);
public OsuContextMenuContainer()
{
AddInternal(samples);
}
public void CloseMenu() public void CloseMenu()
{ {
menu.Close(); menu.Close();