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:
parent
e8567414c6
commit
fe581bf27e
@ -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),
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user