mirror of
https://github.com/ppy/osu.git
synced 2025-03-30 09:18:44 +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 bool beatmapsSplitOut;
|
||||||
|
|
||||||
private void applyActiveCriteria(bool debounce, bool alwaysResetScrollPosition = true)
|
private void applyActiveCriteria(bool debounce)
|
||||||
{
|
{
|
||||||
PendingFilter?.Cancel();
|
PendingFilter?.Cancel();
|
||||||
PendingFilter = null;
|
PendingFilter = null;
|
||||||
@ -735,8 +735,7 @@ namespace osu.Game.Screens.Select
|
|||||||
root.Filter(activeCriteria);
|
root.Filter(activeCriteria);
|
||||||
itemsCache.Invalidate();
|
itemsCache.Invalidate();
|
||||||
|
|
||||||
if (alwaysResetScrollPosition || !Scroll.UserScrolling)
|
ScrollToSelected(true);
|
||||||
ScrollToSelected(true);
|
|
||||||
|
|
||||||
FilterApplied?.Invoke();
|
FilterApplied?.Invoke();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user