1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-05 01:04:16 +08:00

Merge pull request #18152 from peppy/scroll-mod-select-into-view

Scroll mod select slightly into view on first display
This commit is contained in:
Bartłomiej Dach
2022-05-08 13:58:16 +02:00
committed by GitHub
Unverified
@@ -208,6 +208,14 @@ namespace osu.Game.Overlays.Mods
customisationVisible.BindValueChanged(_ => updateCustomisationVisualState(), true);
updateAvailableMods();
// Start scrolled slightly to the right to give the user a sense that
// there is more horizontal content available.
ScheduleAfterChildren(() =>
{
columnScroll.ScrollTo(200, false);
columnScroll.ScrollToStart();
});
}
/// <summary>