Handle overlay in ToolbarOverlayToggleButton.

This commit is contained in:
Huo Yaoyuan
2017-05-08 19:37:41 +08:00
parent e466380ee2
commit ced2332d20
5 changed files with 1 additions and 4 deletions

View File

@ -21,6 +21,7 @@ namespace osu.Game.Overlays.Toolbar
set
{
stateContainer = value;
Action = stateContainer.ToggleVisibility;
stateContainer.StateChanged += stateChanged;
}
}