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

Remove unnecessarily exposed value

This commit is contained in:
Dean Herbert 2020-01-03 15:35:18 +09:00
parent e8567414c6
commit fe581bf27e

View File

@ -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;
/// <summary>
/// Whether entries should be automatically populated if <typeparamref name="T"/> is an <see cref="Enum"/> type.
/// </summary>
@ -47,7 +45,7 @@ namespace osu.Game.Graphics.UserInterface
{
Anchor = Anchor.BottomLeft,
Origin = Anchor.BottomLeft,
Height = StripHeight,
Height = 1,
Colour = Color4.White.Opacity(0),
});