Move request inside the ScoresContainer again

This commit is contained in:
Andrei Zavatski
2019-07-10 19:40:29 +03:00
parent a041421e0d
commit 953d32366c
3 changed files with 68 additions and 42 deletions

View File

@ -31,7 +31,7 @@ namespace osu.Game.Tests.Visual.Online
public TestSceneScoresContainer()
{
ScoresContainer scoresContainer;
TestScoresContainer scoresContainer;
Child = new Container
{
@ -46,7 +46,7 @@ namespace osu.Game.Tests.Visual.Online
RelativeSizeAxes = Axes.Both,
Colour = Color4.Black,
},
scoresContainer = new ScoresContainer(),
scoresContainer = new TestScoresContainer(),
}
};
@ -245,5 +245,13 @@ namespace osu.Game.Tests.Visual.Online
scoresContainer.Scores = allScores;
});
}
private class TestScoresContainer : ScoresContainer
{
public new APILegacyScores Scores
{
set => base.Scores = value;
}
}
}
}