This commit is contained in:
Dean Herbert
2017-04-07 21:20:31 +09:00
parent 4aadd3a8f8
commit c615762da6
7 changed files with 97 additions and 14 deletions

View File

@ -5,6 +5,7 @@ using osu.Framework.Graphics;
using osu.Framework.Graphics.Transforms;
using osu.Framework.MathUtils;
using System;
using osu.Framework.Allocation;
namespace osu.Game.Graphics.UserInterface
{
@ -34,6 +35,12 @@ 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;