1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 05:22:54 +08:00

Ensure beatmap carousel scroll position is maintained during deletion operations

This commit is contained in:
Dean Herbert 2022-01-27 16:17:38 +09:00
parent 0a45aa80cb
commit 449e9bcf5c

View File

@ -286,6 +286,9 @@ namespace osu.Game.Screens.Select
root.RemoveChild(existingSet);
itemsCache.Invalidate();
if (!Scroll.UserScrolling)
ScrollToSelected(true);
});
public void UpdateBeatmapSet(BeatmapSetInfo beatmapSet) => Schedule(() =>