mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 10:02:59 +08:00
Use centre origin/anchors
This commit is contained in:
parent
493390b750
commit
d5fda053f4
@ -57,8 +57,7 @@ namespace osu.Game.Screens.Edit.Compose.Components.Timeline
|
|||||||
Add(new PointVisualisation(t)
|
Add(new PointVisualisation(t)
|
||||||
{
|
{
|
||||||
Colour = BindableBeatDivisor.GetColourFor(1, colours),
|
Colour = BindableBeatDivisor.GetColourFor(1, colours),
|
||||||
Anchor = Anchor.BottomLeft,
|
Origin = Anchor.TopCentre,
|
||||||
Origin = Anchor.BottomLeft,
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -71,13 +70,14 @@ namespace osu.Game.Screens.Edit.Compose.Components.Timeline
|
|||||||
{
|
{
|
||||||
Colour = colour,
|
Colour = colour,
|
||||||
Height = height,
|
Height = height,
|
||||||
|
Origin = Anchor.TopCentre,
|
||||||
});
|
});
|
||||||
|
|
||||||
Add(new PointVisualisation(t)
|
Add(new PointVisualisation(t)
|
||||||
{
|
{
|
||||||
Colour = colour,
|
Colour = colour,
|
||||||
Anchor = Anchor.BottomLeft,
|
Anchor = Anchor.BottomLeft,
|
||||||
Origin = Anchor.BottomLeft,
|
Origin = Anchor.BottomCentre,
|
||||||
Height = height,
|
Height = height,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user