mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 07:22:54 +08:00
Add background
This commit is contained in:
parent
6217fb26da
commit
c9469dc0dd
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user