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