mirror of https://github.com/ppy/osu
Cancel a potentially pending filter update when an update occurs
This commit is contained in:
parent
4d6904468d
commit
2325f0382c
|
@ -52,6 +52,8 @@ private void scheduleUpdateFilter()
|
|||
|
||||
private void updateFilter()
|
||||
{
|
||||
scheduledFilterUpdate?.Cancel();
|
||||
|
||||
filter.Value = new FilterCriteria
|
||||
{
|
||||
SearchString = Search.Current.Value ?? string.Empty,
|
||||
|
|
Loading…
Reference in New Issue