1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 21:07:33 +08:00

Rename Bar to TabControlBar

This commit is contained in:
Andrei Zavatski 2020-01-21 06:25:13 +03:00
parent 8bf19913c0
commit 327d8c213b

View File

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