1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-23 06:23:47 +08:00
This commit is contained in:
Andrei Zavatski
2022-11-19 10:23:37 +03:00
Unverified
parent 9b8f98735c
commit 05992d3aa8
+2 -2
View File
@@ -115,7 +115,7 @@ namespace osu.Game.Graphics.UserInterface
if (currentTime < animationStartTime + resize_duration)
{
for (int i = 0; i < bars.Count(); i++)
for (int i = 0; i < bars.Count; i++)
{
BarStruct bar = bars[i];
bar.IntermediateValue = Interpolation.ValueAt(currentTime, bar.OldValue, bar.Value, animationStartTime, animationStartTime + resize_duration, easing);
@@ -126,7 +126,7 @@ namespace osu.Game.Graphics.UserInterface
}
else if (!animationComplete)
{
for (int i = 0; i < bars.Count(); i++)
for (int i = 0; i < bars.Count; i++)
{
BarStruct bar = bars[i];
bar.IntermediateValue = bar.Value;