mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 10:43:04 +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()
|
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()
|
||||||
|
Loading…
Reference in New Issue
Block a user