1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 18:42:56 +08:00

Convert to local object.

This commit is contained in:
smoogipooo 2017-08-08 14:15:08 +09:00
parent 25202b522d
commit 9e01b47a09

View File

@ -24,8 +24,6 @@ namespace osu.Desktop.Tests.Visual
/// </summary>
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);