mirror of
https://github.com/ppy/osu
synced 2024-12-16 11:56:31 +00:00
Remove redundant returns
This commit is contained in:
parent
e8ca9f5dc5
commit
11f5fddc1f
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user