1
0
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:
Dean Herbert 2024-03-08 14:00:40 +08:00 committed by GitHub
commit c9b4c684e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);
}); });
} }