mirror of
https://github.com/ppy/osu.git
synced 2025-01-07 19:22:58 +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 StripWidth => TabContainer.Children.Sum(c => c.IsPresent ? c.DrawWidth + TabContainer.Spacing.X : 0) - TabContainer.Spacing.X;
|
||||||
|
|
||||||
protected virtual float StripHeight => 1;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Whether entries should be automatically populated if <typeparamref name="T"/> is an <see cref="Enum"/> type.
|
/// Whether entries should be automatically populated if <typeparamref name="T"/> is an <see cref="Enum"/> type.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -47,7 +45,7 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
{
|
{
|
||||||
Anchor = Anchor.BottomLeft,
|
Anchor = Anchor.BottomLeft,
|
||||||
Origin = Anchor.BottomLeft,
|
Origin = Anchor.BottomLeft,
|
||||||
Height = StripHeight,
|
Height = 1,
|
||||||
Colour = Color4.White.Opacity(0),
|
Colour = Color4.White.Opacity(0),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user