mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
fix crash when restoring from any non-SongSelect-screen
removed unwanted refresh
This commit is contained in:
@ -203,8 +203,17 @@ namespace osu.Game.Screens.Select
|
||||
Push(new Editor());
|
||||
}
|
||||
|
||||
private void onBeatmapRestored(BeatmapInfo b) => Schedule(() => carousel.UpdateBeatmap(b));
|
||||
private void onBeatmapHidden(BeatmapInfo b) => Schedule(() => carousel.UpdateBeatmap(b));
|
||||
private void onBeatmapRestored(BeatmapInfo beatmap)
|
||||
{
|
||||
var beatmapSet = beatmaps.QueryBeatmapSet(s => s.ID == beatmap.BeatmapSetInfoID);
|
||||
Schedule(() => carousel.UpdateBeatmapSet(beatmapSet));
|
||||
}
|
||||
|
||||
private void onBeatmapHidden(BeatmapInfo beatmap)
|
||||
{
|
||||
var beatmapSet = beatmaps.QueryBeatmapSet(s => s.ID == beatmap.BeatmapSetInfoID);
|
||||
Schedule(() => carousel.UpdateBeatmapSet(beatmapSet));
|
||||
}
|
||||
|
||||
private void carouselBeatmapsLoaded()
|
||||
{
|
||||
|
Reference in New Issue
Block a user