mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 16:52:55 +08:00
more detailed explanation
This commit is contained in:
parent
6e09d857fd
commit
1b0f7b0459
@ -59,7 +59,8 @@ namespace osu.Game.Graphics.Containers
|
|||||||
{
|
{
|
||||||
base.LoadComplete();
|
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;
|
State.ValueChanged += onStateChanged;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user