mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 15:07:44 +08:00
Add slight transform when resetting arm from almost-zero
This commit is contained in:
parent
82c4d855d4
commit
a40ad6f784
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user