1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 12:23:21 +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) private void load(OsuColour colours)
{ {
successRateBackground.Colour = colours.GrayE; successRateBackground.Colour = colours.GrayE;
description.TextColour = source.TextColour = tags.TextColour = colours.Gray5;
updateDisplay(); updateDisplay();
} }
@ -194,7 +193,7 @@ namespace osu.Game.Overlays.BeatmapSet
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
private void load(OsuColour colours) 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) private void load(APIAccess api)
{ {
this.api = api; this.api = api;
description.TextColour = source.TextColour = tags.TextColour = Color4.White.Opacity(0.75f);
} }
protected override void UpdateAfterChildren() protected override void UpdateAfterChildren()
@ -374,6 +373,12 @@ namespace osu.Game.Screens.Select
get { return textFlow.Colour; } get { return textFlow.Colour; }
set { textFlow.Colour = value; } set { textFlow.Colour = value; }
} }
[BackgroundDependencyLoader]
private void load()
{
textFlow.Colour = Color4.White.Opacity(0.75f);
}
} }
private class DimmedLoadingAnimation : VisibilityContainer private class DimmedLoadingAnimation : VisibilityContainer