Use ResolvedAttribute for NotificationOverlay

This commit is contained in:
Craftplacer
2019-09-15 16:11:45 +02:00
parent 78931c8e23
commit 4a10e6c44e

View File

@ -57,7 +57,8 @@ namespace osu.Game.Screens.Play
private InputManager inputManager; private InputManager inputManager;
private NotificationOverlay notificationOverlay; [Resolved]
private NotificationOverlay notificationOverlay { get; set; }
private IdleTracker idleTracker; private IdleTracker idleTracker;
@ -107,8 +108,6 @@ namespace osu.Game.Screens.Play
loadNewPlayer(); loadNewPlayer();
this.notificationOverlay = notificationOverlay;
checkVolume(audioManager); checkVolume(audioManager);
} }