1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-13 21:27:54 +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) private void load(OsuColour colours)
{ {
successRateBackground.Colour = colours.GrayE; successRateBackground.Colour = colours.GrayE;
source.TextColour = description.TextColour = colours.Gray5; description.TextColour = colours.Gray5;
tags.TextColour = colours.BlueDark; source.TextColour = tags.TextColour = colours.BlueDark;
updateDisplay(); updateDisplay();
} }

View File

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