mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 18:45:37 +08:00
Merge pull request #8772 from peppy/fix-select-new-from-sub-screen
Fix carousel not correctly updating when selection changes to a new beatmap from a child screen
This commit is contained in:
commit
b2d766ad2d
@ -224,6 +224,9 @@ namespace osu.Game.Screens.Select
|
||||
/// <returns>True if a selection was made, False if it wasn't.</returns>
|
||||
public bool SelectBeatmap(BeatmapInfo beatmap, bool bypassFilters = true)
|
||||
{
|
||||
// ensure that any pending events from BeatmapManager have been run before attempting a selection.
|
||||
Scheduler.Update();
|
||||
|
||||
if (beatmap?.Hidden != false)
|
||||
return false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user