mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 10:12:54 +08:00
Avoid excess background updates in playlist overlay
This commit is contained in:
parent
84c13b93fc
commit
3ec78388e8
@ -84,7 +84,7 @@ namespace osu.Game.Overlays.Music
|
||||
beatmaps.ForEach(addBeatmapSet);
|
||||
|
||||
beatmapBacking.BindTo(beatmap);
|
||||
beatmapBacking.ValueChanged += _ => updateSelectedSet();
|
||||
beatmapBacking.ValueChanged += _ => Scheduler.AddOnce(updateSelectedSet);
|
||||
}
|
||||
|
||||
private void addBeatmapSet(BeatmapSetInfo obj)
|
||||
|
Loading…
Reference in New Issue
Block a user