1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 12:33:01 +08:00

Hide slider body immediately on successful hit when snaking is enabled

This commit is contained in:
Dean Herbert 2020-12-01 14:56:41 +09:00
parent 8d101efb24
commit d0852d7f4a

View File

@ -294,6 +294,8 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
{
case ArmedState.Hit:
Ball.ScaleTo(HitObject.Scale * 1.4f, fade_out_time, Easing.Out);
if (sliderBody?.SnakingOut.Value == true)
Body.FadeOut();
break;
}