mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 11:42:56 +08:00
Schedule UpdateFilter calls to avoid operations occuring while at a sub screen
This commit is contained in:
parent
b29a5e2073
commit
5457e4598b
@ -98,7 +98,9 @@ namespace osu.Game.Screens.Multi.Lounge.Components
|
||||
scheduledFilterUpdate = Scheduler.AddDelayed(UpdateFilter, 200);
|
||||
}
|
||||
|
||||
protected void UpdateFilter()
|
||||
protected void UpdateFilter() => Scheduler.AddOnce(updateFilter);
|
||||
|
||||
private void updateFilter()
|
||||
{
|
||||
scheduledFilterUpdate?.Cancel();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user