From 9e01b47a093629c61062821b776f1c5560ac8e24 Mon Sep 17 00:00:00 2001 From: smoogipooo Date: Tue, 8 Aug 2017 14:15:08 +0900 Subject: [PATCH] Convert to local object. --- osu.Desktop.Tests/Visual/TestCaseScrollingPlayfield.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/osu.Desktop.Tests/Visual/TestCaseScrollingPlayfield.cs b/osu.Desktop.Tests/Visual/TestCaseScrollingPlayfield.cs index 8334992d5a..7f067efa78 100644 --- a/osu.Desktop.Tests/Visual/TestCaseScrollingPlayfield.cs +++ b/osu.Desktop.Tests/Visual/TestCaseScrollingPlayfield.cs @@ -24,8 +24,6 @@ namespace osu.Desktop.Tests.Visual /// public class TestCaseScrollingPlayfield : OsuTestCase { - private readonly TestHitRenderer hitRenderer; - public TestCaseScrollingPlayfield() { Clock = new FramedClock(); @@ -52,6 +50,7 @@ namespace osu.Desktop.Tests.Visual WorkingBeatmap beatmap = new TestWorkingBeatmap(b); + TestHitRenderer hitRenderer; Add(hitRenderer = new TestHitRenderer(beatmap, true)); AddStep("Reverse direction", () => hitRenderer.Playfield.Reversed.Value = !hitRenderer.Playfield.Reversed);