1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 04:02:59 +08:00

Use default colour in MetadataSection

This commit is contained in:
Joehu 2018-06-03 07:51:57 -07:00
parent dc2a004c87
commit 5c713ac2ab
2 changed files with 7 additions and 3 deletions

View File

@ -135,7 +135,6 @@ namespace osu.Game.Overlays.BeatmapSet
private void load(OsuColour colours)
{
successRateBackground.Colour = colours.GrayE;
description.TextColour = source.TextColour = tags.TextColour = colours.Gray5;
updateDisplay();
}
@ -194,7 +193,7 @@ namespace osu.Game.Overlays.BeatmapSet
[BackgroundDependencyLoader]
private void load(OsuColour colours)
{
header.Colour = colours.Gray5;
header.Colour = textFlow.Colour = colours.Gray5;
}
}
}

View File

@ -160,7 +160,6 @@ namespace osu.Game.Screens.Select
private void load(APIAccess api)
{
this.api = api;
description.TextColour = source.TextColour = tags.TextColour = Color4.White.Opacity(0.75f);
}
protected override void UpdateAfterChildren()
@ -374,6 +373,12 @@ namespace osu.Game.Screens.Select
get { return textFlow.Colour; }
set { textFlow.Colour = value; }
}
[BackgroundDependencyLoader]
private void load()
{
textFlow.Colour = Color4.White.Opacity(0.75f);
}
}
private class DimmedLoadingAnimation : VisibilityContainer