1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-26 18:03:11 +08:00

Fix initial scroll.

This commit is contained in:
Huo Yaoyuan 2017-06-09 16:05:05 +08:00
parent 140c74cd2a
commit c60ef2449f

View File

@ -76,6 +76,11 @@ namespace osu.Game.Users
tabs.Current.ValueChanged += s =>
{
if (lastSection == null)
{
lastSection = tabs.Current.Value = sections[0];
return;
}
if (lastSection != s)
{
lastSection = s;