mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 08:12:56 +08:00
Rewrite comment
This commit is contained in:
parent
1b0f7b0459
commit
4b5fb84888
@ -59,8 +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, since onStateChanged contains logic that
|
||||||
// but the overlay doesn't get shown until after the stateChanged function from VisibilityContainer gets called.
|
// must be run after other state change logic has been completed.
|
||||||
State.ValueChanged += onStateChanged;
|
State.ValueChanged += onStateChanged;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user