Fix presenting new ruleset and beatmap at once causing wedge display desync

This commit is contained in:
Dean Herbert
2020-04-17 18:50:58 +09:00
parent 5ec8d49241
commit 5833a7ac91
2 changed files with 66 additions and 2 deletions

View File

@ -448,8 +448,10 @@ namespace osu.Game.Screens.Select
{
Mods.Value = Array.Empty<Mod>();
// required to return once in order to have the carousel in a good state.
// if the ruleset changed, the rest of the selection update will happen via updateSelectedRuleset.
// the ruleset transfer may cause a deselection of the current beatmap (due to incompatibility).
// this can happen via Carousel.FlushPendingFilterOperations().
// to ensure a good state, re-transfer no-debounce values.
performUpdateSelected();
return;
}