mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Fix incorrec nesting of manual input manager test containers
This commit is contained in:
@ -35,10 +35,16 @@ namespace osu.Game.Tests.Visual
|
|||||||
{
|
{
|
||||||
MenuCursorContainer cursorContainer;
|
MenuCursorContainer cursorContainer;
|
||||||
|
|
||||||
CompositeDrawable mainContent =
|
CompositeDrawable mainContent = new PopoverContainer
|
||||||
new PopoverContainer { RelativeSizeAxes = Axes.Both }
|
{
|
||||||
.WithChild(cursorContainer = new MenuCursorContainer { RelativeSizeAxes = Axes.Both })
|
RelativeSizeAxes = Axes.Both,
|
||||||
.WithChild(content = new OsuTooltipContainer(cursorContainer.Cursor) { RelativeSizeAxes = Axes.Both });
|
Child = cursorContainer = new MenuCursorContainer { RelativeSizeAxes = Axes.Both, }
|
||||||
|
};
|
||||||
|
|
||||||
|
cursorContainer.Child = content = new OsuTooltipContainer(cursorContainer.Cursor)
|
||||||
|
{
|
||||||
|
RelativeSizeAxes = Axes.Both
|
||||||
|
};
|
||||||
|
|
||||||
if (CreateNestedActionContainer)
|
if (CreateNestedActionContainer)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user