+1
osu.Framework/Graphics/UserInterface/TabControl.cs
+1
osu.Framework/Graphics/UserInterface/TabControl.cs
···
204
204
Current.Value = Items.First();
205
205
206
206
Current.BindValueChanged(v => selectTab(v.NewValue != null ? tabMap[v.NewValue] : null), true);
207
+
207
208
// TabContainer doesn't have valid layout yet, so TabItems all have y=0 and selectTab() didn't call performTabSort() so we call it here instead
208
209
if (AutoSort && Current.Value != null)
209
210
performTabSort(tabMap[Current.Value]);