mirror of https://github.com/ppy/osu
Remove unused local in case statement
This commit is contained in:
parent
467a16bf75
commit
5237fa7bf2
|
@ -39,7 +39,11 @@ private void updateState(DrawableHitObject hitObject, ArmedState state)
|
|||
// adjust the visuals of certain object types to make them stay on screen for longer than usual.
|
||||
switch (hitObject)
|
||||
{
|
||||
case DrawableSlider slider:
|
||||
default:
|
||||
// there are quite a few drawable hit types we don't want to extent (spinners, ticks etc.)
|
||||
return;
|
||||
|
||||
case DrawableSlider _:
|
||||
// no specifics to sliders but let them fade slower below.
|
||||
break;
|
||||
|
||||
|
@ -48,10 +52,6 @@ private void updateState(DrawableHitObject hitObject, ArmedState state)
|
|||
.FadeOutFromOne(editor_hit_object_fade_out_extension)
|
||||
.Expire();
|
||||
break;
|
||||
|
||||
default:
|
||||
// there are quite a few drawable hit types we don't want to extent (spinners, ticks etc.)
|
||||
return;
|
||||
}
|
||||
|
||||
// Get the existing fade out transform
|
||||
|
|
Loading…
Reference in New Issue