Use centre origin/anchors

This commit is contained in:
Dean Herbert 2020-01-27 18:08:30 +09:00
parent 493390b750
commit d5fda053f4
1 changed files with 3 additions and 3 deletions

View File

@ -57,8 +57,7 @@ private void createLines()
Add(new PointVisualisation(t)
{
Colour = BindableBeatDivisor.GetColourFor(1, colours),
Anchor = Anchor.BottomLeft,
Origin = Anchor.BottomLeft,
Origin = Anchor.TopCentre,
});
}
else
@ -71,13 +70,14 @@ private void createLines()
{
Colour = colour,
Height = height,
Origin = Anchor.TopCentre,
});
Add(new PointVisualisation(t)
{
Colour = colour,
Anchor = Anchor.BottomLeft,
Origin = Anchor.BottomLeft,
Origin = Anchor.BottomCentre,
Height = height,
});
}