Avoid excess background updates in playlist overlay (#6424)

Avoid excess background updates in playlist overlay
This commit is contained in:
Dean Herbert 2019-10-08 14:11:02 +09:00 committed by GitHub
commit 7e4f0c01b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)