This commit is contained in:
smoogipooo 2017-08-09 14:51:00 +09:00
parent 2715324a76
commit e6c100da27

View File

@ -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;