mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Delete unnecessary class attributes
This commit is contained in:
@ -25,8 +25,6 @@ namespace osu.Game.Graphics.UserInterface
|
||||
/// </remarks>
|
||||
protected virtual Type transformType => typeof(Transform<T>);
|
||||
|
||||
protected double rollingTotalDuration = 0;
|
||||
|
||||
protected SpriteText countSpriteText;
|
||||
|
||||
/// <summary>
|
||||
@ -84,10 +82,6 @@ namespace osu.Game.Graphics.UserInterface
|
||||
count = value;
|
||||
if (IsLoaded)
|
||||
{
|
||||
rollingTotalDuration =
|
||||
IsRollingProportional
|
||||
? getProportionalDuration(visibleCount, value)
|
||||
: RollingDuration;
|
||||
transformCount(visibleCount, count);
|
||||
}
|
||||
}
|
||||
@ -236,6 +230,11 @@ namespace osu.Game.Graphics.UserInterface
|
||||
return;
|
||||
}
|
||||
|
||||
double rollingTotalDuration =
|
||||
IsRollingProportional
|
||||
? getProportionalDuration(currentValue, newValue)
|
||||
: RollingDuration;
|
||||
|
||||
transform.StartTime = Time;
|
||||
transform.EndTime = Time + rollingTotalDuration;
|
||||
transform.StartValue = currentValue;
|
||||
|
Reference in New Issue
Block a user