mirror of
https://github.com/osukey/osukey.git
synced 2025-05-19 12:37:38 +09: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].DelayReset();
|
||||||
stars[i].ClearTransformations();
|
stars[i].ClearTransformations();
|
||||||
if (i > currentValueFloor)
|
if (i > currentValueFloor)
|
||||||
stars[i].Delay((i - currentValueFloor) * AnimationDelay);
|
stars[i].Delay((i - currentValue) * AnimationDelay);
|
||||||
transformStar(i, newValue);
|
transformStar(i, newValue);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -187,7 +187,7 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
stars[i].DelayReset();
|
stars[i].DelayReset();
|
||||||
stars[i].ClearTransformations();
|
stars[i].ClearTransformations();
|
||||||
if (i < currentValueCeiling)
|
if (i < currentValueCeiling)
|
||||||
stars[i].Delay((currentValueCeiling - i) * AnimationDelay);
|
stars[i].Delay((currentValue - i) * AnimationDelay);
|
||||||
transformStar(i, newValue);
|
transformStar(i, newValue);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user