1
0
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:
Dean Herbert 2020-03-05 13:39:55 +09:00
parent 6477a7b73e
commit 74b5e76c0e

View File

@ -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 };