Remove link colours for all unlinked text

This commit is contained in:
Joehu
2018-06-02 12:04:58 -07:00
parent b4d621a2cb
commit dc2a004c87
2 changed files with 4 additions and 9 deletions

View File

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

View File

@ -6,7 +6,6 @@ using OpenTK.Graphics;
using osu.Framework.Allocation; using osu.Framework.Allocation;
using osu.Framework.Graphics; using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Containers;
using osu.Game.Graphics;
using osu.Game.Graphics.Sprites; using osu.Game.Graphics.Sprites;
using osu.Game.Graphics.UserInterface; using osu.Game.Graphics.UserInterface;
using System.Linq; using System.Linq;
@ -120,10 +119,7 @@ namespace osu.Game.Screens.Select
Margin = new MarginPadding { Top = spacing * 2 }, Margin = new MarginPadding { Top = spacing * 2 },
Children = new[] Children = new[]
{ {
description = new MetadataSection("Description") description = new MetadataSection("Description"),
{
TextColour = Color4.White.Opacity(0.75f),
},
source = new MetadataSection("Source"), source = new MetadataSection("Source"),
tags = new MetadataSection("Tags"), tags = new MetadataSection("Tags"),
}, },
@ -161,10 +157,10 @@ namespace osu.Game.Screens.Select
} }
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
private void load(OsuColour colours, APIAccess api) private void load(APIAccess api)
{ {
this.api = api; this.api = api;
source.TextColour = tags.TextColour = colours.Yellow; description.TextColour = source.TextColour = tags.TextColour = Color4.White.Opacity(0.75f);
} }
protected override void UpdateAfterChildren() protected override void UpdateAfterChildren()