Remove unused local in case statement

This commit is contained in:
Dean Herbert 2020-09-28 16:37:54 +09:00
parent 467a16bf75
commit 5237fa7bf2
1 changed files with 5 additions and 5 deletions

View File

@ -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