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:
parent
140c74cd2a
commit
c60ef2449f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user