mirror of https://github.com/ppy/osu
Fix (very) long spinners degrading in performance due to high transform count
This commit is contained in:
parent
febf9adabd
commit
19b6e496ef
|
@ -126,7 +126,7 @@ protected override void Update()
|
|||
.FadeTo(tracking_alpha, 250, Easing.OutQuint);
|
||||
}
|
||||
|
||||
this.RotateTo(currentRotation / 2, validAndTracking ? 500 : 1500, Easing.OutExpo);
|
||||
Rotation = (float)Interpolation.Lerp(Rotation, currentRotation / 2, Math.Clamp(Math.Abs(Time.Elapsed) / 40, 0, 1));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue