mirror of
https://github.com/ppy/osu.git
synced 2025-01-27 03:23:03 +08:00
Fix results screen not showing first tab correctly
This commit is contained in:
parent
a82b1ca9ad
commit
a6ddcd78d4
@ -256,9 +256,12 @@ namespace osu.Game.Screens.Ranking
|
||||
}
|
||||
};
|
||||
|
||||
foreach (var t in CreateResultPages())
|
||||
modeChangeButtons.AddItem(t);
|
||||
modeChangeButtons.Current.Value = modeChangeButtons.Items.FirstOrDefault();
|
||||
var pages = CreateResultPages();
|
||||
|
||||
foreach (var p in pages)
|
||||
modeChangeButtons.AddItem(p);
|
||||
|
||||
modeChangeButtons.Current.Value = pages.FirstOrDefault();
|
||||
|
||||
modeChangeButtons.Current.BindValueChanged(page =>
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user