1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 01:27:29 +08:00

Add slight transform when resetting arm from almost-zero

This commit is contained in:
Dean Herbert 2022-06-21 15:07:35 +09:00
parent 82c4d855d4
commit a40ad6f784

View File

@ -275,7 +275,7 @@ namespace osu.Game.Screens.Edit.Timing
// instantly latch if pendulum arm is close enough to center (to prevent awkward delayed playback of latch sound)
if (Precision.AlmostEquals(swing.Rotation, 0, 1))
{
swing.RotateTo(0);
swing.RotateTo(0, 60, Easing.OutQuint);
sampleLatch?.Play();
return;
}