Keep shortcut padding even when there is no shortut

This commit is contained in:
smoogipoo 2018-05-10 18:49:19 +09:00
parent c03ab9014f
commit df604c40cc
2 changed files with 12 additions and 6 deletions

@ -1 +1 @@
Subproject commit 0773d895d9aa0729995cd4a23efc28238e35ceed Subproject commit 5c135a7360388dc41b1dc4387769a98ee1635d36

View File

@ -31,6 +31,7 @@ namespace osu.Game.Overlays
private readonly SpriteText textLine3; private readonly SpriteText textLine3;
private const float height = 110; private const float height = 110;
private const float height_notext = 98;
private const float height_contracted = height * 0.9f; private const float height_contracted = height * 0.9f;
private readonly FillFlowContainer<OptionLight> optionLights; private readonly FillFlowContainer<OptionLight> optionLights;
@ -100,18 +101,23 @@ namespace osu.Game.Overlays
Origin = Anchor.TopCentre, Origin = Anchor.TopCentre,
AutoSizeAxes = Axes.Both AutoSizeAxes = Axes.Both
}, },
textLine3 = new OsuSpriteText new Container
{ {
Anchor = Anchor.TopCentre, Anchor = Anchor.TopCentre,
Origin = Anchor.TopCentre, Origin = Anchor.TopCentre,
Padding = new MarginPadding { Bottom = 15 }, AutoSizeAxes = Axes.Both,
Margin = new MarginPadding { Bottom = 15 },
Alpha = 0.3f,
Child = textLine3 = new OsuSpriteText
{
Font = @"Exo2.0-Bold", Font = @"Exo2.0-Bold",
TextSize = 12, TextSize = 12,
Alpha = 0.3f, AlwaysPresent = true
}, },
} }
} }
} }
}
}, },
}; };
} }