From 30bec0876ddcf41ba54a7aae39d3748b869d69b7 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Thu, 9 Feb 2017 13:53:55 +0900 Subject: [PATCH] Make MusicController a focused overlay. --- osu.Game/Overlays/MusicController.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/osu.Game/Overlays/MusicController.cs b/osu.Game/Overlays/MusicController.cs index eaf40294a5..0390de880c 100644 --- a/osu.Game/Overlays/MusicController.cs +++ b/osu.Game/Overlays/MusicController.cs @@ -27,7 +27,7 @@ using osu.Game.Graphics.Sprites; namespace osu.Game.Overlays { - public class MusicController : OverlayContainer + public class MusicController : FocusedOverlayContainer { private MusicControllerBackground backgroundSprite; private DragBar progress; @@ -380,12 +380,16 @@ namespace osu.Game.Overlays protected override void PopIn() { + base.PopIn(); + FadeIn(transition_length, EasingTypes.OutQuint); dragContainer.ScaleTo(1, transition_length, EasingTypes.OutElastic); } protected override void PopOut() { + base.PopOut(); + FadeOut(transition_length, EasingTypes.OutQuint); dragContainer.ScaleTo(0.9f, transition_length, EasingTypes.OutQuint); }