1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-08 20:04:08 +08:00

Fix dependency initialisation ordering

This commit is contained in:
Dean Herbert
2020-03-05 13:39:55 +09:00
Unverified
parent 6477a7b73e
commit 74b5e76c0e
+1 -1
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 };