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

more detailed explanation

This commit is contained in:
David Zhao 2019-07-26 19:05:55 +09:00
parent 6e09d857fd
commit 1b0f7b0459

View File

@ -59,7 +59,8 @@ namespace osu.Game.Graphics.Containers
{
base.LoadComplete();
// This must be added after the base LoadComplete. The overlay may need to be hidden immediately if its disabled.
// This must be added after the base LoadComplete. The overlay may need to be hidden immediately if its disabled,
// but the overlay doesn't get shown until after the stateChanged function from VisibilityContainer gets called.
State.ValueChanged += onStateChanged;
}