mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 20:25:39 +08:00
Remove global OsuContextMenuContainer
This commit is contained in:
parent
bdf62870d1
commit
396a56ddf4
@ -200,10 +200,9 @@ namespace osu.Game
|
||||
globalBinding = new GlobalKeyBindingInputManager(this)
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Child = new OsuTooltipContainer(Cursor)
|
||||
Child = content = new OsuTooltipContainer(Cursor)
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Child = content = new OsuContextMenuContainer { RelativeSizeAxes = Axes.Both },
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -19,6 +19,7 @@ using osu.Framework.Threading;
|
||||
using osu.Framework.Configuration;
|
||||
using osu.Game.Beatmaps;
|
||||
using osu.Game.Graphics.Containers;
|
||||
using osu.Game.Graphics.Cursor;
|
||||
|
||||
namespace osu.Game.Screens.Select
|
||||
{
|
||||
@ -86,9 +87,14 @@ namespace osu.Game.Screens.Select
|
||||
|
||||
public BeatmapCarousel()
|
||||
{
|
||||
Add(scrollableContent = new Container<Panel>
|
||||
Add(new OsuContextMenuContainer
|
||||
{
|
||||
RelativeSizeAxes = Axes.X,
|
||||
AutoSizeAxes = Axes.Y,
|
||||
Child = scrollableContent = new Container<Panel>
|
||||
{
|
||||
RelativeSizeAxes = Axes.X,
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user