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

Add visual tests.

This commit is contained in:
Lucas A 2019-08-10 12:26:54 +02:00
parent e3d52d8d71
commit 4b0ac381b7
2 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,17 @@
using osu.Game.Overlays;
namespace osu.Game.Tests.Visual.Online
{
public class TestSceneNewsOverlay : OsuTestScene
{
private NewsOverlay news;
protected override void LoadComplete()
{
base.LoadComplete();
Add(news = new NewsOverlay());
AddStep(@"Show", news.Show);
AddStep(@"Hide", news.Hide);
}
}
}

View File

@ -15,7 +15,7 @@ namespace osu.Game.Overlays
new Box new Box
{ {
RelativeSizeAxes = Axes.Both, RelativeSizeAxes = Axes.Both,
Colour = colours.PurpleLightAlternative Colour = colours.PurpleDarkAlternative
} }
}; };
} }