1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 17:52:56 +08:00

use constant value

This commit is contained in:
EVAST9919 2019-05-24 20:01:47 +03:00
parent cda97a61fa
commit 69ada11f41

View File

@ -170,7 +170,7 @@ namespace osu.Game.Overlays.Profile.Header.Components
public void UpdateBallPosition(float mouseXPosition)
{
int duration = 200;
const int duration = 200;
int index = calculateIndex(mouseXPosition);
Vector2 position = calculateBallPosition(index);
movingBall.MoveToY(position.Y, duration, Easing.OutQuint);