mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 09:22:54 +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)
|
// 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))
|
if (Precision.AlmostEquals(swing.Rotation, 0, 1))
|
||||||
{
|
{
|
||||||
swing.RotateTo(0);
|
swing.RotateTo(0, 60, Easing.OutQuint);
|
||||||
sampleLatch?.Play();
|
sampleLatch?.Play();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user