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:
parent
743d509241
commit
ac507a3ba5
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user