mirror of
https://github.com/ppy/osu.git
synced 2025-01-06 23:22:54 +08:00
Fix dependency initialisation ordering
This commit is contained in:
parent
6477a7b73e
commit
74b5e76c0e
@ -531,7 +531,6 @@ namespace osu.Game
|
||||
|
||||
AddRange(new Drawable[]
|
||||
{
|
||||
CreateUpdateManager(),
|
||||
new VolumeControlReceptor
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
@ -632,6 +631,7 @@ namespace osu.Game
|
||||
chatOverlay.State.ValueChanged += state => channelManager.HighPollRate.Value = state.NewValue == Visibility.Visible;
|
||||
|
||||
Add(externalLinkOpener = new ExternalLinkOpener());
|
||||
Add(CreateUpdateManager()); // dependency on notification overlay
|
||||
|
||||
// side overlays which cancel each other.
|
||||
var singleDisplaySideOverlays = new OverlayContainer[] { Settings, notifications };
|
||||
|
Loading…
Reference in New Issue
Block a user