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

Add background

This commit is contained in:
smoogipoo 2020-06-12 22:48:43 +09:00
parent 6217fb26da
commit c9469dc0dd

View File

@ -19,12 +19,20 @@ namespace osu.Game.Tests.Visual.Ranking
{ {
public TestSceneTimingDistributionGraph() public TestSceneTimingDistributionGraph()
{ {
Add(new TimingDistributionGraph(createNormalDistribution()) Children = new Drawable[]
{ {
Anchor = Anchor.Centre, new Box
Origin = Anchor.Centre, {
Size = new Vector2(400, 130) RelativeSizeAxes = Axes.Both,
}); Colour = Color4Extensions.FromHex("#333")
},
new TimingDistributionGraph(createNormalDistribution())
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
Size = new Vector2(400, 130)
}
};
} }
private TimingDistribution createNormalDistribution() private TimingDistribution createNormalDistribution()