mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 16:27:26 +08:00
Schedule calls to correct thread
These could be fired from an async worker thread (for instance, maintenance operations).
This commit is contained in:
parent
37c0772537
commit
1824540325
@ -203,8 +203,8 @@ namespace osu.Game.Screens.Select
|
||||
Push(new Editor());
|
||||
}
|
||||
|
||||
private void onBeatmapRestored(BeatmapInfo b) => carousel.UpdateBeatmap(b);
|
||||
private void onBeatmapHidden(BeatmapInfo b) => carousel.UpdateBeatmap(b);
|
||||
private void onBeatmapRestored(BeatmapInfo b) => Schedule(() => carousel.UpdateBeatmap(b));
|
||||
private void onBeatmapHidden(BeatmapInfo b) => Schedule(() => carousel.UpdateBeatmap(b));
|
||||
|
||||
private void carouselBeatmapsLoaded()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user