mirror of
https://github.com/ppy/osu
synced 2025-01-20 04:50:50 +00:00
Fix low-pass filter continuing to take effect after fail animation has already ended
This commit is contained in:
parent
e0e3d1643b
commit
91cc77407d
@ -106,6 +106,7 @@ namespace osu.Game.Screens.Play
|
|||||||
|
|
||||||
this.TransformBindableTo(trackFreq, 0, duration).OnComplete(_ =>
|
this.TransformBindableTo(trackFreq, 0, duration).OnComplete(_ =>
|
||||||
{
|
{
|
||||||
|
RemoveFilters();
|
||||||
OnComplete?.Invoke();
|
OnComplete?.Invoke();
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -137,6 +138,9 @@ namespace osu.Game.Screens.Play
|
|||||||
|
|
||||||
public void RemoveFilters()
|
public void RemoveFilters()
|
||||||
{
|
{
|
||||||
|
if (filters.Parent == null)
|
||||||
|
return;
|
||||||
|
|
||||||
RemoveInternal(filters);
|
RemoveInternal(filters);
|
||||||
filters.Dispose();
|
filters.Dispose();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user