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