1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-15 11:02:57 +08:00
This commit is contained in:
Jamie Taylor 2021-09-30 15:17:39 +09:00
parent f55c4ac640
commit 968826c9e7
No known key found for this signature in database
GPG Key ID: 2ACFA8B6370B8C8C

View File

@ -39,7 +39,7 @@ namespace osu.Game.Audio.Effects
public void Disable()
{
this.TransformBindableTo(filterFreq, SweepCutoffStart, SweepDuration, SweepEasing).OnComplete(_ => detatchFilter());
this.TransformBindableTo(filterFreq, SweepCutoffStart, SweepDuration, SweepEasing).OnComplete(_ => detachFilter());
}
private void attachFilter()
@ -57,7 +57,7 @@ namespace osu.Game.Audio.Effects
IsActive = true;
}
private void detatchFilter()
private void detachFilter()
{
if (!IsActive) return;
@ -81,7 +81,7 @@ namespace osu.Game.Audio.Effects
protected override void Dispose(bool isDisposing)
{
base.Dispose(isDisposing);
detatchFilter();
detachFilter();
}
}
}