From fe581bf27ef852055e16894d45bcaed55b0f2ffb Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Fri, 3 Jan 2020 15:35:18 +0900 Subject: [PATCH] Remove unnecessarily exposed value --- osu.Game/Graphics/UserInterface/OsuTabControl.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/osu.Game/Graphics/UserInterface/OsuTabControl.cs b/osu.Game/Graphics/UserInterface/OsuTabControl.cs index a6ee666e1d..ed8904db7e 100644 --- a/osu.Game/Graphics/UserInterface/OsuTabControl.cs +++ b/osu.Game/Graphics/UserInterface/OsuTabControl.cs @@ -30,8 +30,6 @@ namespace osu.Game.Graphics.UserInterface protected virtual float StripWidth => TabContainer.Children.Sum(c => c.IsPresent ? c.DrawWidth + TabContainer.Spacing.X : 0) - TabContainer.Spacing.X; - protected virtual float StripHeight => 1; - /// /// Whether entries should be automatically populated if is an type. /// @@ -47,7 +45,7 @@ namespace osu.Game.Graphics.UserInterface { Anchor = Anchor.BottomLeft, Origin = Anchor.BottomLeft, - Height = StripHeight, + Height = 1, Colour = Color4.White.Opacity(0), });