1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-14 05:47:20 +08:00

Add more explanation

This commit is contained in:
smoogipoo 2019-02-27 16:35:11 +09:00
parent f66fefb818
commit c13a5184f3

View File

@ -63,7 +63,8 @@ namespace osu.Game.Rulesets.Osu.UI
{
var original = c.ProxiedLayer;
// Hitobjects only have lifetimes set on LoadComplete, so approach circles should not be added until that point
// Hitobjects only have lifetimes set on LoadComplete. For nested hitobjects (e.g. SliderHeads), this only happens when the parenting slider becomes visible.
// This delegation is required to make sure that the approach circles for those not-yet-loaded objects aren't added prematurely.
original.OnLoadComplete += addApproachCircleProxy;
}