1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 07:22:54 +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()
{
Add(new TimingDistributionGraph(createNormalDistribution())
Children = new Drawable[]
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
Size = new Vector2(400, 130)
});
new Box
{
RelativeSizeAxes = Axes.Both,
Colour = Color4Extensions.FromHex("#333")
},
new TimingDistributionGraph(createNormalDistribution())
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
Size = new Vector2(400, 130)
}
};
}
private TimingDistribution createNormalDistribution()