Tidying up

This commit is contained in:
Adonais Romero González
2016-10-13 19:50:06 -05:00
parent 0deb5b4e22
commit 9ccff6ec48
9 changed files with 49 additions and 79 deletions

View File

@ -35,6 +35,9 @@ namespace osu.Game.Graphics.UserInterface
{
countSpriteText.FixedWidth = true;
LeadingZeroes = leading;
RollingDuration = 1000;
RollingEasing = EasingTypes.Out;
}
public override void Load(BaseGame game)
@ -42,7 +45,7 @@ namespace osu.Game.Graphics.UserInterface
base.Load(game);
}
protected override ulong getProportionalDuration(ulong currentValue, ulong newValue)
protected override double getProportionalDuration(ulong currentValue, ulong newValue)
{
return currentValue > newValue ? currentValue - newValue : newValue - currentValue;
}