mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 13:32:54 +08:00
Make GradientLineTabControl abstract
This commit is contained in:
parent
7ee01ee323
commit
b917f29cfe
@ -12,10 +12,8 @@ using osu.Framework.Extensions.Color4Extensions;
|
||||
|
||||
namespace osu.Game.Graphics.UserInterface
|
||||
{
|
||||
public class GradientLineTabControl<TModel> : PageTabControl<TModel>
|
||||
public abstract class GradientLineTabControl<TModel> : PageTabControl<TModel>
|
||||
{
|
||||
protected override Dropdown<TModel> CreateDropdown() => null;
|
||||
|
||||
protected Color4 LineColour
|
||||
{
|
||||
get => line.Colour;
|
||||
@ -24,7 +22,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
|
||||
private readonly GradientLine line;
|
||||
|
||||
public GradientLineTabControl()
|
||||
protected GradientLineTabControl()
|
||||
{
|
||||
RelativeSizeAxes = Axes.X;
|
||||
|
||||
@ -35,6 +33,8 @@ namespace osu.Game.Graphics.UserInterface
|
||||
});
|
||||
}
|
||||
|
||||
protected override Dropdown<TModel> CreateDropdown() => null;
|
||||
|
||||
protected override TabFillFlowContainer CreateTabFlow() => new TabFillFlowContainer
|
||||
{
|
||||
Anchor = Anchor.BottomCentre,
|
||||
|
Loading…
Reference in New Issue
Block a user