Fixed up style in the ChatDisplay test

This commit is contained in:
FreezyLemon 2017-12-07 10:29:54 +01:00
parent 65afbd5c1b
commit 006ac44e11

View File

@ -12,7 +12,7 @@ namespace osu.Game.Tests.Visual
[Description("Testing chat api and overlay")]
internal class TestCaseChatDisplay : OsuTestCase
{
private BeatmapSetOverlay beatmapSetOverlay;
private readonly BeatmapSetOverlay beatmapSetOverlay;
private readonly ChatOverlay chat;
private DependencyContainer dependencies;
@ -21,12 +21,10 @@ namespace osu.Game.Tests.Visual
public TestCaseChatDisplay()
{
chat = new ChatOverlay
Add(chat = new ChatOverlay
{
State = Visibility.Visible
};
Add(chat);
});
Add(beatmapSetOverlay = new BeatmapSetOverlay());
}