From 9bf29503fb94a0726c65d07b0f649e2c72aa9a97 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Thu, 7 Oct 2021 20:57:14 +0900 Subject: [PATCH] Rename remaining usage --- osu.Game/Collections/ManageCollectionsDialog.cs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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);