Expose AccentColour/GlowColour from hud elements, and set from HudOverlay.

This commit is contained in:
smoogipooo
2017-04-13 10:04:12 +09:00
parent 2987a57588
commit 3054697f98
6 changed files with 54 additions and 32 deletions

View File

@ -35,12 +35,6 @@ namespace osu.Game.Graphics.UserInterface
LeadingZeroes = leading;
}
[BackgroundDependencyLoader]
private void load(OsuColour colours)
{
DisplayedCountSpriteText.Colour = colours.BlueLighter;
}
protected override double GetProportionalDuration(double currentValue, double newValue)
{
return currentValue > newValue ? currentValue - newValue : newValue - currentValue;