1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-18 21:52:57 +08:00
This commit is contained in:
smoogipooo
2017-08-09 14:51:00 +09:00
Unverified
parent 2715324a76
commit e6c100da27
@@ -106,11 +106,7 @@ namespace osu.Desktop.Tests.Visual
public DrawableTestHitObject(Axes scrollingAxes, TestHitObject hitObject)
: base(hitObject)
{
if (scrollingAxes == Axes.Y)
Anchor = Anchor.TopCentre;
else
Anchor = Anchor.CentreLeft;
Anchor = scrollingAxes == Axes.Y ? Anchor.TopCentre : Anchor.CentreLeft;
Origin = Anchor.Centre;
AutoSizeAxes = Axes.Both;