1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 10:33:01 +08:00

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)
{
successRateBackground.Colour = colours.GrayE;
description.TextColour = colours.Gray5;
source.TextColour = tags.TextColour = colours.BlueDark;
description.TextColour = source.TextColour = tags.TextColour = colours.Gray5;
updateDisplay();
}

View File

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