mirror of https://github.com/ppy/osu
Use ResolvedAttribute for NotificationOverlay
This commit is contained in:
parent
78931c8e23
commit
4a10e6c44e
|
@ -57,7 +57,8 @@ public class PlayerLoader : ScreenWithBeatmapBackground
|
|||
|
||||
private InputManager inputManager;
|
||||
|
||||
private NotificationOverlay notificationOverlay;
|
||||
[Resolved]
|
||||
private NotificationOverlay notificationOverlay { get; set; }
|
||||
|
||||
private IdleTracker idleTracker;
|
||||
|
||||
|
@ -107,8 +108,6 @@ private void load(AudioManager audioManager, NotificationOverlay notificationOve
|
|||
|
||||
loadNewPlayer();
|
||||
|
||||
this.notificationOverlay = notificationOverlay;
|
||||
|
||||
checkVolume(audioManager);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue