mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 14:32:55 +08:00
Fix incorrec nesting of manual input manager test containers
This commit is contained in:
parent
567a94a28b
commit
64cf9b702e
@ -35,10 +35,16 @@ namespace osu.Game.Tests.Visual
|
||||
{
|
||||
MenuCursorContainer cursorContainer;
|
||||
|
||||
CompositeDrawable mainContent =
|
||||
new PopoverContainer { RelativeSizeAxes = Axes.Both }
|
||||
.WithChild(cursorContainer = new MenuCursorContainer { RelativeSizeAxes = Axes.Both })
|
||||
.WithChild(content = new OsuTooltipContainer(cursorContainer.Cursor) { RelativeSizeAxes = Axes.Both });
|
||||
CompositeDrawable mainContent = new PopoverContainer
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Child = cursorContainer = new MenuCursorContainer { RelativeSizeAxes = Axes.Both, }
|
||||
};
|
||||
|
||||
cursorContainer.Child = content = new OsuTooltipContainer(cursorContainer.Cursor)
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both
|
||||
};
|
||||
|
||||
if (CreateNestedActionContainer)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user