mirror of
https://github.com/ppy/osu.git
synced 2024-11-18 14:12:54 +08:00
520d2d6cfa
This is an issue as carousel panels manage their own animated state. If they are marked as not-visible (done at a higher level, from filtering or update pathways) but clicked while fading out, they will animate back to a visible state but not be marked as visible. No tests for this one as it's probably not worthwhile to test (and hard to do so). Manual testing can be done with the following patch: ```diff diff --git a/osu.Game/Screens/Select/BeatmapCarousel.cs b/osu.Game/Screens/Select/BeatmapCarousel.cs index c3d340ac61..3372242acc 100644 --- a/osu.Game/Screens/Select/BeatmapCarousel.cs +++ b/osu.Game/Screens/Select/BeatmapCarousel.cs @@ -255,7 +255,7 @@ private void beatmapSetsChanged(IRealmCollection<BeatmapSetInfo> sender, ChangeS } foreach (int i in changes.NewModifiedIndices) - UpdateBeatmapSet(sender[i].Detach()); + Scheduler.AddDelayed(() => UpdateBeatmapSet(sender[i].Detach()), 100, true); foreach (int i in changes.InsertedIndices) UpdateBeatmapSet(sender[i].Detach()); ``` - Enter gameplay and adjust beatmap offset then return to song select and click the flashing panel. OR - Enter editor and save then return to song select and click the flashing panel. Closes https://github.com/ppy/osu/discussions/17171. |
||
---|---|---|
.. | ||
Carousel | ||
Details | ||
Filter | ||
Leaderboards | ||
Options | ||
BeatmapCarousel.cs | ||
BeatmapClearScoresDialog.cs | ||
BeatmapDeleteDialog.cs | ||
BeatmapDetailArea.cs | ||
BeatmapDetailAreaDetailTabItem.cs | ||
BeatmapDetailAreaLeaderboardTabItem.cs | ||
BeatmapDetailAreaTabControl.cs | ||
BeatmapDetailAreaTabItem.cs | ||
BeatmapDetails.cs | ||
BeatmapInfoWedge.cs | ||
BeatmapInfoWedgeBackground.cs | ||
FilterControl.cs | ||
FilterCriteria.cs | ||
FilterQueryParser.cs | ||
Footer.cs | ||
FooterButton.cs | ||
FooterButtonMods.cs | ||
FooterButtonOptions.cs | ||
FooterButtonRandom.cs | ||
ImportFromStablePopup.cs | ||
LocalScoreDeleteDialog.cs | ||
PlayBeatmapDetailArea.cs | ||
PlaySongSelect.cs | ||
SongSelect.cs | ||
WedgeBackground.cs |