mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Make OverlayHeader non-generic
This commit is contained in:
@ -1,10 +1,14 @@
|
||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
using osu.Framework.Graphics.UserInterface;
|
||||
|
||||
namespace osu.Game.Overlays
|
||||
{
|
||||
public abstract class TabControlOverlayHeader : OverlayHeader<OverlayHeaderTabControl>
|
||||
public abstract class TabControlOverlayHeader : OverlayHeader
|
||||
{
|
||||
protected override OverlayHeaderTabControl CreateControl() => new OverlayHeaderTabControl();
|
||||
protected OverlayHeaderTabControl TabControl;
|
||||
|
||||
protected override TabControl<string> CreateControl() => TabControl = new OverlayHeaderTabControl();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user