1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 10:33:07 +08:00

Remove redundant returns

This commit is contained in:
Andrei Zavatski 2022-11-19 09:57:52 +03:00
parent e8ca9f5dc5
commit 11f5fddc1f

View File

@ -120,7 +120,6 @@ namespace osu.Game.Graphics.UserInterface
bar.IntermediateValue = Interpolation.ValueAt(currentTime, bar.OldValue, bar.Value, animationStartTime, animationStartTime + resize_duration, easing);
Invalidate(Invalidation.DrawNode);
return;
}
else if (!animationComplete)
{
@ -130,7 +129,6 @@ namespace osu.Game.Graphics.UserInterface
Invalidate(Invalidation.DrawNode);
animationComplete = true;
return;
}
}