mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 17:07:38 +08:00
Scroll mod select slightly into view on first display
This commit is contained in:
parent
aef5093e47
commit
778497b9e2
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user