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