Add ability to not create content for headers

Rather than creating an empty container
This commit is contained in:
Andrei Zavatski
2019-12-26 21:21:15 +03:00
parent ca3e8db79f
commit 647c83e6c8
4 changed files with 12 additions and 10 deletions

View File

@ -63,8 +63,6 @@ namespace osu.Game.Overlays.News
protected override Drawable CreateBackground() => new NewsHeaderBackground();
protected override Drawable CreateContent() => new Container();
protected override ScreenTitle CreateTitle() => title = new NewsHeaderTitle();
private class NewsHeaderBackground : Sprite