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:
parent
25202b522d
commit
9e01b47a09
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user