Remove counter sprite attributes for not being of any reasonable use

This commit is contained in:
Salman Ahmed
2020-08-19 07:44:45 +03:00
parent 9d10658e3c
commit 8f1a71c6b1
6 changed files with 13 additions and 54 deletions

View File

@ -29,7 +29,7 @@ namespace osu.Game.Graphics.UserInterface
}
[BackgroundDependencyLoader]
private void load(OsuColour colours) => AccentColour = colours.BlueLighter;
private void load(OsuColour colours) => Colour = colours.BlueLighter;
protected override double GetProportionalDuration(double currentValue, double newValue)
{
@ -50,11 +50,7 @@ namespace osu.Game.Graphics.UserInterface
}
protected override OsuSpriteText CreateSpriteText()
{
var spriteText = base.CreateSpriteText();
spriteText.Font = spriteText.Font.With(fixedWidth: true);
return spriteText;
}
=> base.CreateSpriteText().With(s => s.Font = s.Font.With(fixedWidth: true));
public override void Increment(double amount)
{