mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 20:07:29 +08:00
Interpolate to tracking position on from Initial button state
This commit is contained in:
parent
fcffad6553
commit
b7aed0a014
@ -332,7 +332,8 @@ namespace osu.Game.Screens.Menu
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case ButtonSystemState.EnteringMode:
|
case ButtonSystemState.EnteringMode:
|
||||||
logoTrackingContainer.StartTracking(logo, 400, Easing.InSine);
|
// When coming from the Initial (untracked) state, interpolate to the tracking position over a brief duration instead of tracking immediately.
|
||||||
|
logoTrackingContainer.StartTracking(logo, lastState == ButtonSystemState.Initial ? 400 : 0, Easing.InSine);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user