1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 02:33:02 +08:00

Avoid excess background updates in playlist overlay

This commit is contained in:
Dean Herbert 2019-10-08 11:02:54 +09:00
parent 84c13b93fc
commit 3ec78388e8

View File

@ -84,7 +84,7 @@ namespace osu.Game.Overlays.Music
beatmaps.ForEach(addBeatmapSet); beatmaps.ForEach(addBeatmapSet);
beatmapBacking.BindTo(beatmap); beatmapBacking.BindTo(beatmap);
beatmapBacking.ValueChanged += _ => updateSelectedSet(); beatmapBacking.ValueChanged += _ => Scheduler.AddOnce(updateSelectedSet);
} }
private void addBeatmapSet(BeatmapSetInfo obj) private void addBeatmapSet(BeatmapSetInfo obj)