1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-16 10:23:04 +08:00

Remove unused parameter in applyActiveCriteria

This commit is contained in:
Dean Herbert 2024-09-18 17:21:43 +09:00
parent 743d509241
commit ac507a3ba5
No known key found for this signature in database

View File

@ -706,7 +706,7 @@ namespace osu.Game.Screens.Select
private bool beatmapsSplitOut;
private void applyActiveCriteria(bool debounce, bool alwaysResetScrollPosition = true)
private void applyActiveCriteria(bool debounce)
{
PendingFilter?.Cancel();
PendingFilter = null;
@ -735,8 +735,7 @@ namespace osu.Game.Screens.Select
root.Filter(activeCriteria);
itemsCache.Invalidate();
if (alwaysResetScrollPosition || !Scroll.UserScrolling)
ScrollToSelected(true);
ScrollToSelected(true);
FilterApplied?.Invoke();
}