mirror of
https://github.com/osukey/osukey.git
synced 2025-08-07 00:23:59 +09:00
Remove link colours for all unlinked text
This commit is contained in:
@ -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();
|
||||||
}
|
}
|
||||||
|
@ -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()
|
||||||
|
Reference in New Issue
Block a user