1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 00:43:21 +08:00

Cancel a potentially pending filter update when an update occurs

This commit is contained in:
Dean Herbert 2019-11-21 13:46:45 +09:00
parent 4d6904468d
commit 2325f0382c

View File

@ -52,6 +52,8 @@ namespace osu.Game.Screens.Multi.Lounge.Components
private void updateFilter()
{
scheduledFilterUpdate?.Cancel();
filter.Value = new FilterCriteria
{
SearchString = Search.Current.Value ?? string.Empty,