Update TabControl in line with framework changes.

This commit is contained in:
Dean Herbert
2017-03-17 00:35:27 +09:00
parent 296a3cd1e9
commit e78bcf8739
4 changed files with 9 additions and 9 deletions

View File

@ -28,7 +28,7 @@ namespace osu.Game.Graphics.UserInterface
throw new InvalidOperationException("OsuTabControl only supports enums as the generic type argument");
foreach (var val in (T[])Enum.GetValues(typeof(T)))
AddTab(val);
AddItem(val);
}
[BackgroundDependencyLoader]