mirror of
https://github.com/osukey/osukey.git
synced 2025-08-06 16:13:57 +09:00
Add slight transform when resetting arm from almost-zero
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user