diff --git a/osu.Game/Graphics/UserInterface/OsuTabControl.cs b/osu.Game/Graphics/UserInterface/OsuTabControl.cs index d5699eddaf..de81757fdf 100644 --- a/osu.Game/Graphics/UserInterface/OsuTabControl.cs +++ b/osu.Game/Graphics/UserInterface/OsuTabControl.cs @@ -16,7 +16,7 @@ namespace osu.Game.Graphics.UserInterface { public class OsuTabControl : TabControl { - protected override DropDownMenu CreateDropDownMenu() => new OsuTabDropDownMenu(); + protected override DropDownMenu CreateDropDownMenu() => new OsuTabDropDownMenu(); protected override TabItem CreateTabItem(T value) => new OsuTabItem { Value = value }; @@ -45,7 +45,7 @@ namespace osu.Game.Graphics.UserInterface set { accentColour = value; - var dropDown = DropDown as OsuTabDropDownMenu; + var dropDown = DropDown as OsuTabDropDownMenu; if (dropDown != null) dropDown.AccentColour = value; foreach (var item in TabContainer.Children.OfType>()) @@ -53,7 +53,7 @@ namespace osu.Game.Graphics.UserInterface } } - public class OsuTabDropDownMenu : OsuDropDownMenu + public class OsuTabDropDownMenu : OsuDropDownMenu { protected override DropDownHeader CreateHeader() => new OsuTabDropDownHeader { @@ -62,7 +62,7 @@ namespace osu.Game.Graphics.UserInterface Origin = Anchor.TopRight, }; - protected override DropDownMenuItem CreateDropDownItem(string key, T1 value) + protected override DropDownMenuItem CreateDropDownItem(string key, T value) { var item = base.CreateDropDownItem(key, value); item.ForegroundColourHover = Color4.Black;