diff --git a/osu.Game/Overlays/OverlayHeader.cs b/osu.Game/Overlays/OverlayHeader.cs index da7cfd0ce7..4356c54fdf 100644 --- a/osu.Game/Overlays/OverlayHeader.cs +++ b/osu.Game/Overlays/OverlayHeader.cs @@ -11,10 +11,11 @@ using osuTK.Graphics; namespace osu.Game.Overlays { - public abstract class OverlayHeader : Container - where TModel : TabControl + /// A control for overlay. + public abstract class OverlayHeader : Container + where TControl : TabControl { - protected readonly TModel TabControl; + protected readonly TControl TabControl; private readonly Box titleBackground; private readonly Box controlBackground; @@ -102,6 +103,6 @@ namespace osu.Game.Overlays protected abstract ScreenTitle CreateTitle(); - protected abstract TModel CreateControl(); + protected abstract TControl CreateControl(); } }