Make method to flush filter requests

This commit is contained in:
Dean Herbert
2017-07-21 17:20:52 +09:00
parent fb2f1224b3
commit 12b6b80d5c
2 changed files with 8 additions and 5 deletions

View File

@ -198,10 +198,9 @@ namespace osu.Game.Screens.Select
private void carouselRaisedStart()
{
if (carousel.PendingFilter)
// if we have a pending filter operation, we want to run it now.
// it could change selection (ie. if the ruleset has been changed).
carousel.Filter(null, false);
// if we have a pending filter operation, we want to run it now.
// it could change selection (ie. if the ruleset has been changed).
carousel.FlushPendingFilters();
if (selectionChangedDebounce?.Completed == false)
{