diff --git a/osu.Game/Collections/ManageCollectionsDialog.cs b/osu.Game/Collections/ManageCollectionsDialog.cs index c239396a41..95fbfa0f86 100644 --- a/osu.Game/Collections/ManageCollectionsDialog.cs +++ b/osu.Game/Collections/ManageCollectionsDialog.cs @@ -21,7 +21,8 @@ public class ManageCollectionsDialog : OsuFocusedOverlayContainer { private const double enter_duration = 500; private const double exit_duration = 200; - private Filter lpFilter; + + private AudioFilter lowPassFilter; [Resolved(CanBeNull = true)] private CollectionManager collectionManager { get; set; } @@ -112,7 +113,7 @@ private void load(OsuColour colours, AudioManager audio) } } }, - lpFilter = new Filter(audio.TrackMixer) + lowPassFilter = new AudioFilter(audio.TrackMixer) }; } @@ -120,7 +121,7 @@ protected override void PopIn() { base.PopIn(); - lpFilter.CutoffTo(300, 100, Easing.OutCubic); + lowPassFilter.CutoffTo(300, 100, Easing.OutCubic); this.FadeIn(enter_duration, Easing.OutQuint); this.ScaleTo(0.9f).Then().ScaleTo(1f, enter_duration, Easing.OutQuint); } @@ -129,7 +130,8 @@ protected override void PopOut() { base.PopOut(); - lpFilter.CutoffTo(lpFilter.MaxCutoff, 100, Easing.InCubic); + lowPassFilter.CutoffTo(AudioFilter.MAX_LOWPASS_CUTOFF, 100, Easing.InCubic); + this.FadeOut(exit_duration, Easing.OutQuint); this.ScaleTo(0.9f, exit_duration);