1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-14 17:17:24 +08:00

Use News overlay resources

This commit is contained in:
Lucas A 2019-08-10 16:12:42 +02:00
parent b19c378fc8
commit 0e5561c783

View File

@ -42,7 +42,7 @@ namespace osu.Game.Overlays.News
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
private void load(TextureStore textures) private void load(TextureStore textures)
{ {
Texture = textures.Get(@"Headers/changelog"); //using changelog bg until corresponding osu-resources pr is merged. Texture = textures.Get(@"Headers/news");
} }
} }
@ -61,6 +61,8 @@ namespace osu.Game.Overlays.News
IsReadingArticle = false; IsReadingArticle = false;
} }
protected override Drawable CreateIcon() => new ScreenTitleIcon(@"Icons/news");
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
private void load(OsuColour colours) private void load(OsuColour colours)
{ {