1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-16 12:42:56 +08:00

Revert easing for now

This commit is contained in:
Dean Herbert 2022-05-23 00:03:42 +09:00
parent 007582afb9
commit c9ea87e6be

View File

@ -258,7 +258,7 @@ namespace osu.Game.Screens.Edit.Timing
float currentAngle = swing.Rotation; float currentAngle = swing.Rotation;
float targetAngle = currentAngle > 0 ? -angle : angle; float targetAngle = currentAngle > 0 ? -angle : angle;
swing.RotateTo(targetAngle, beatLength, Easing.InOutSine); swing.RotateTo(targetAngle, beatLength, Easing.InOutQuad);
if (currentAngle != 0 && Math.Abs(currentAngle - targetAngle) > angle * 1.8f && isSwinging) if (currentAngle != 0 && Math.Abs(currentAngle - targetAngle) > angle * 1.8f && isSwinging)
{ {