Rename Bar to TabControlBar

This commit is contained in:
Andrei Zavatski 2020-01-21 06:25:13 +03:00
parent 8bf19913c0
commit 327d8c213b
1 changed files with 4 additions and 4 deletions

View File

@ -16,7 +16,7 @@ namespace osu.Game.Overlays
{
public abstract class OverlayTabControl<T> : OsuTabControl<T>
{
private readonly Bar bar;
private readonly TabControlBar bar;
protected float BarHeight
{
@ -28,7 +28,7 @@ protected OverlayTabControl()
TabContainer.Masking = false;
TabContainer.Spacing = new Vector2(15, 0);
AddInternal(bar = new Bar
AddInternal(bar = new TabControlBar
{
RelativeSizeAxes = Axes.X,
Height = 2,
@ -139,7 +139,7 @@ protected virtual void UnhoverAction()
}
}
private class Bar : CompositeDrawable, IHasAccentColour
private class TabControlBar : CompositeDrawable, IHasAccentColour
{
public Color4 AccentColour
{
@ -149,7 +149,7 @@ public Color4 AccentColour
private readonly Box background;
public Bar()
public TabControlBar()
{
AddInternal(background = new Box
{