mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 03:15:45 +08:00
Star animation delay micro fix
This commit is contained in:
parent
c48e3a74f8
commit
69621eb6d3
@ -175,7 +175,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
stars[i].DelayReset();
|
||||
stars[i].ClearTransformations();
|
||||
if (i > currentValueFloor)
|
||||
stars[i].Delay((i - currentValueFloor) * AnimationDelay);
|
||||
stars[i].Delay((i - currentValue) * AnimationDelay);
|
||||
transformStar(i, newValue);
|
||||
}
|
||||
}
|
||||
@ -187,7 +187,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
stars[i].DelayReset();
|
||||
stars[i].ClearTransformations();
|
||||
if (i < currentValueCeiling)
|
||||
stars[i].Delay((currentValueCeiling - i) * AnimationDelay);
|
||||
stars[i].Delay((currentValue - i) * AnimationDelay);
|
||||
transformStar(i, newValue);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user