1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 19:22:54 +08:00

Scroll mod select slightly into view on first display

This commit is contained in:
Dean Herbert 2022-05-08 17:00:20 +09:00
parent aef5093e47
commit 778497b9e2

View File

@ -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(100, false);
columnScroll.ScrollToStart();
});
}
/// <summary>