mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 17:52:56 +08:00
Adjust transition time of spinner sound
This commit is contained in:
parent
8a6857f151
commit
767c76921f
@ -131,11 +131,11 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
|
|||||||
if (tracking.NewValue)
|
if (tracking.NewValue)
|
||||||
{
|
{
|
||||||
spinningSample?.Play();
|
spinningSample?.Play();
|
||||||
spinningSample?.VolumeTo(1, 200);
|
spinningSample?.VolumeTo(1, 300);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
spinningSample?.VolumeTo(0, 200).Finally(_ => spinningSample.Stop());
|
spinningSample?.VolumeTo(0, 300).Finally(_ => spinningSample.Stop());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user