mirror of https://github.com/ppy/osu
Avoid excess background updates in playlist overlay (#6424)
Avoid excess background updates in playlist overlay
This commit is contained in:
commit
7e4f0c01b8
|
@ -84,7 +84,7 @@ private void load(IBindable<WorkingBeatmap> beatmap)
|
|||
beatmaps.ForEach(addBeatmapSet);
|
||||
|
||||
beatmapBacking.BindTo(beatmap);
|
||||
beatmapBacking.ValueChanged += _ => updateSelectedSet();
|
||||
beatmapBacking.ValueChanged += _ => Scheduler.AddOnce(updateSelectedSet);
|
||||
}
|
||||
|
||||
private void addBeatmapSet(BeatmapSetInfo obj)
|
||||
|
|
Loading…
Reference in New Issue