mirror of https://github.com/ppy/osu
Remove now obsolete clock usages.
This commit is contained in:
parent
8894e5f73a
commit
5f2bf165a2
|
@ -265,7 +265,7 @@ protected override void Update()
|
|||
base.Update();
|
||||
|
||||
foreach (Framework.Graphics.Drawable d in Children)
|
||||
d.Position -= new Vector2(0, (float)(d.Scale.X * (Clock.ElapsedFrameTime / 20)));
|
||||
d.Position -= new Vector2(0, (float)(d.Scale.X * (Time.Elapsed / 20)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -342,7 +342,7 @@ protected override void Update()
|
|||
base.Update();
|
||||
|
||||
foreach (Framework.Graphics.Drawable d in Children)
|
||||
d.Position -= new Vector2(0, (float)(d.Scale.X * (Clock.ElapsedFrameTime / 20)));
|
||||
d.Position -= new Vector2(0, (float)(d.Scale.X * (Time.Elapsed / 20)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -229,9 +229,6 @@ private void transformRoll(TransformComboRoll transform, ulong currentValue, ulo
|
|||
{
|
||||
Flush(false, typeof(TransformComboRoll));
|
||||
|
||||
if (Clock == null)
|
||||
return;
|
||||
|
||||
if (RollingDuration < 1)
|
||||
{
|
||||
DisplayedCount = Count;
|
||||
|
|
|
@ -211,9 +211,6 @@ protected void TransformCount(Transform<T> transform, T currentValue, T newValue
|
|||
|
||||
Flush(false, type);
|
||||
|
||||
if (Clock == null)
|
||||
return;
|
||||
|
||||
if (RollingDuration < 1)
|
||||
{
|
||||
DisplayedCount = Count;
|
||||
|
|
Loading…
Reference in New Issue