mirror of https://github.com/ppy/osu
Fix testcase never working
This commit is contained in:
parent
c4be2af498
commit
8583fd1380
|
@ -114,11 +114,11 @@ private void setAnchor(DrawableHitObject obj, TestPlayfield playfield)
|
|||
|
||||
private class TestPlayfield : ScrollingPlayfield
|
||||
{
|
||||
public new readonly ScrollingDirection Direction;
|
||||
public new ScrollingDirection Direction => base.Direction;
|
||||
|
||||
public TestPlayfield(ScrollingDirection direction)
|
||||
{
|
||||
Direction = direction;
|
||||
base.Direction.Value = direction;
|
||||
|
||||
Padding = new MarginPadding(2);
|
||||
|
||||
|
|
Loading…
Reference in New Issue