mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 15:16:38 +09:00
Make accuracy fixed width and improve feel.
This commit is contained in:
@ -20,8 +20,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
{
|
||||
protected override Type TransformType => typeof(TransformAccuracy);
|
||||
|
||||
protected override double RollingDuration => 150;
|
||||
protected override bool IsRollingProportional => true;
|
||||
protected override double RollingDuration => 750;
|
||||
|
||||
private float epsilon => 1e-10f;
|
||||
|
||||
@ -32,6 +31,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
|
||||
public PercentageCounter()
|
||||
{
|
||||
DisplayedCountSpriteText.FixedWidth = true;
|
||||
Count = 1.0f;
|
||||
}
|
||||
|
||||
|
@ -38,7 +38,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
/// <summary>
|
||||
/// Easing for the counter rollover animation.
|
||||
/// </summary>
|
||||
protected virtual EasingTypes RollingEasing => EasingTypes.Out;
|
||||
protected virtual EasingTypes RollingEasing => EasingTypes.OutQuint;
|
||||
|
||||
private T displayedCount;
|
||||
|
||||
|
Reference in New Issue
Block a user