mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 13:32:54 +08:00
Remove schedule in panel load
It was causing selection/deselection of all mods to work improperly if a select/deselect all operation was requested before the panel was scrolled into view. In general the schedule was an over-optimisation - the game-global set of available mods shouldn't be changing so often as to warrant such an aggressive debounce.
This commit is contained in:
parent
e1953c484c
commit
9f96dd47d1
@ -275,7 +275,7 @@ namespace osu.Game.Overlays.Mods
|
||||
return;
|
||||
|
||||
localAvailableMods = newMods;
|
||||
Scheduler.AddOnce(loadPanels);
|
||||
loadPanels();
|
||||
}
|
||||
|
||||
private CancellationTokenSource? cancellationTokenSource;
|
||||
|
Loading…
Reference in New Issue
Block a user