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

Add link colour to beatmap source

This commit is contained in:
Joehu 2018-05-31 10:21:22 -07:00
parent 9c0eff72b5
commit b4d621a2cb
2 changed files with 4 additions and 7 deletions

View File

@ -135,8 +135,8 @@ namespace osu.Game.Overlays.BeatmapSet
private void load(OsuColour colours)
{
successRateBackground.Colour = colours.GrayE;
source.TextColour = description.TextColour = colours.Gray5;
tags.TextColour = colours.BlueDark;
description.TextColour = colours.Gray5;
source.TextColour = tags.TextColour = colours.BlueDark;
updateDisplay();
}

View File

@ -124,10 +124,7 @@ namespace osu.Game.Screens.Select
{
TextColour = Color4.White.Opacity(0.75f),
},
source = new MetadataSection("Source")
{
TextColour = Color4.White.Opacity(0.75f),
},
source = new MetadataSection("Source"),
tags = new MetadataSection("Tags"),
},
},
@ -167,7 +164,7 @@ namespace osu.Game.Screens.Select
private void load(OsuColour colours, APIAccess api)
{
this.api = api;
tags.TextColour = colours.Yellow;
source.TextColour = tags.TextColour = colours.Yellow;
}
protected override void UpdateAfterChildren()