mirror of
https://github.com/ppy/osu
synced 2025-03-06 03:19:47 +00: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())
|
var pages = CreateResultPages();
|
||||||
modeChangeButtons.AddItem(t);
|
|
||||||
modeChangeButtons.Current.Value = modeChangeButtons.Items.FirstOrDefault();
|
foreach (var p in pages)
|
||||||
|
modeChangeButtons.AddItem(p);
|
||||||
|
|
||||||
|
modeChangeButtons.Current.Value = pages.FirstOrDefault();
|
||||||
|
|
||||||
modeChangeButtons.Current.BindValueChanged(page =>
|
modeChangeButtons.Current.BindValueChanged(page =>
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user