1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 14:12:56 +08:00

Fix BeatmapCarousel's flush not correctly applying selection changes

They may have been delayed until the next Update, which is too late in this case.
This commit is contained in:
Dean Herbert 2018-03-23 01:06:05 +09:00
parent 72531229fe
commit d4aeb3d00b

View File

@ -328,7 +328,10 @@ namespace osu.Game.Screens.Select
public void FlushPendingFilterOperations()
{
if (FilterTask?.Completed == false)
{
applyActiveCriteria(false, false);
Update();
}
}
public void Filter(FilterCriteria newCriteria, bool debounce = true)