1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-30 15:32:59 +08:00

Fix test failures

This commit is contained in:
Daniel Cios 2024-09-19 21:50:59 +02:00
parent b86f246095
commit 1a48b46536

View File

@ -45,24 +45,27 @@ namespace osu.Game.Tests.Visual.UserInterface
private void createContent()
{
Child = new PopoverContainer
AddStep("create component", () =>
{
RelativeSizeAxes = Axes.Both,
Child = new FillFlowContainer
Child = new PopoverContainer
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
Width = 500,
AutoSizeAxes = Axes.Y,
Children = new Drawable[]
RelativeSizeAxes = Axes.Both,
Child = new FillFlowContainer
{
component = new SettingsColour
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
Width = 500,
AutoSizeAxes = Axes.Y,
Children = new Drawable[]
{
LabelText = "a sample component",
component = new SettingsColour
{
LabelText = "a sample component",
},
},
},
},
};
};
});
}
private Colour4 randomColour() => new Color4(