mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 11:02:57 +08:00
Fix typo
This commit is contained in:
parent
f55c4ac640
commit
968826c9e7
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user