Fix notifications appearing too early in load process

This commit is contained in:
Dean Herbert
2018-08-23 11:20:20 +09:00
parent de31187de6
commit 9f3f07df2e
3 changed files with 9 additions and 12 deletions

View File

@ -96,8 +96,7 @@ namespace osu.Game.Overlays
base.LoadComplete();
StateChanged += _ => updateProcessingMode();
OverlayActivationMode.ValueChanged += _ => updateProcessingMode();
OverlayActivationMode.TriggerChange();
OverlayActivationMode.BindValueChanged(_ => updateProcessingMode(), true);
}
private int totalCount => sections.Select(c => c.DisplayedCount).Sum();