From e6c100da27a8cc51d08a8da026ccf5533a24efed Mon Sep 17 00:00:00 2001 From: smoogipooo Date: Wed, 9 Aug 2017 14:51:00 +0900 Subject: [PATCH] Fix CI. --- osu.Desktop.Tests/Visual/TestCaseScrollingPlayfield.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/osu.Desktop.Tests/Visual/TestCaseScrollingPlayfield.cs b/osu.Desktop.Tests/Visual/TestCaseScrollingPlayfield.cs index 1dd55974e8..79a9fab91c 100644 --- a/osu.Desktop.Tests/Visual/TestCaseScrollingPlayfield.cs +++ b/osu.Desktop.Tests/Visual/TestCaseScrollingPlayfield.cs @@ -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;