mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 06:52:56 +08:00
Fix tests failing
This commit is contained in:
parent
a3541339f5
commit
e02def58f3
@ -318,6 +318,8 @@ namespace osu.Game.Tests.Visual.Background
|
||||
|
||||
private class FadeAccessibleResults : SoloResults
|
||||
{
|
||||
protected override UserStatus ScreenStatus => null;
|
||||
|
||||
public FadeAccessibleResults(ScoreInfo score)
|
||||
: base(score)
|
||||
{
|
||||
@ -330,6 +332,8 @@ namespace osu.Game.Tests.Visual.Background
|
||||
|
||||
private class TestPlayer : Player
|
||||
{
|
||||
protected override UserStatus ScreenStatus => null;
|
||||
|
||||
protected override BackgroundScreen CreateBackground() => new FadeAccessibleBackground(Beatmap.Value);
|
||||
|
||||
protected override UserDimContainer CreateStoryboardContainer()
|
||||
@ -377,6 +381,8 @@ namespace osu.Game.Tests.Visual.Background
|
||||
public VisualSettings VisualSettingsPos => VisualSettings;
|
||||
public BackgroundScreen ScreenPos => Background;
|
||||
|
||||
protected override UserStatus ScreenStatus => null;
|
||||
|
||||
public TestPlayerLoader(Player player)
|
||||
: base(() => player)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user