mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 17:35:10 +08:00
Merge pull request #27403 from Gabixel/increase-modselect-initial-scroll
Change initial scroll effect to mod columns
This commit is contained in:
commit
c9b4c684e5
@ -357,12 +357,12 @@ namespace osu.Game.Overlays.Mods
|
|||||||
column.SearchTerm = query.NewValue;
|
column.SearchTerm = query.NewValue;
|
||||||
}, true);
|
}, true);
|
||||||
|
|
||||||
// Start scrolled slightly to the right to give the user a sense that
|
// Start scrolling from the end, to give the user a sense that
|
||||||
// there is more horizontal content available.
|
// there is more horizontal content available.
|
||||||
ScheduleAfterChildren(() =>
|
ScheduleAfterChildren(() =>
|
||||||
{
|
{
|
||||||
columnScroll.ScrollTo(200, false);
|
columnScroll.ScrollToEnd(false);
|
||||||
columnScroll.ScrollToStart();
|
columnScroll.ScrollTo(0);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user