mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
moved query into schedule
This commit is contained in:
@ -206,14 +206,20 @@ namespace osu.Game.Screens.Select
|
||||
|
||||
private void onBeatmapRestored(BeatmapInfo beatmap)
|
||||
{
|
||||
var beatmapSet = beatmaps.QueryBeatmapSet(s => s.ID == beatmap.BeatmapSetInfoID);
|
||||
Schedule(() => carousel.UpdateBeatmapSet(beatmapSet));
|
||||
Schedule(() =>
|
||||
{
|
||||
var beatmapSet = beatmaps.QueryBeatmapSet(s => s.ID == beatmap.BeatmapSetInfoID);
|
||||
carousel.UpdateBeatmapSet(beatmapSet);
|
||||
});
|
||||
}
|
||||
|
||||
private void onBeatmapHidden(BeatmapInfo beatmap)
|
||||
{
|
||||
var beatmapSet = beatmaps.QueryBeatmapSet(s => s.ID == beatmap.BeatmapSetInfoID);
|
||||
Schedule(() => carousel.UpdateBeatmapSet(beatmapSet));
|
||||
Schedule(() =>
|
||||
{
|
||||
var beatmapSet = beatmaps.QueryBeatmapSet(s => s.ID == beatmap.BeatmapSetInfoID);
|
||||
carousel.UpdateBeatmapSet(beatmapSet);
|
||||
});
|
||||
}
|
||||
|
||||
private void carouselBeatmapsLoaded()
|
||||
|
Reference in New Issue
Block a user