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

Fix sidebar button text becoming masked away during fadeout

This commit is contained in:
Bartłomiej Dach 2023-12-26 20:24:43 +01:00
parent 9ac79782d2
commit af47f9fd70
No known key found for this signature in database

View File

@ -66,16 +66,16 @@ namespace osu.Game.Overlays.Settings
{
textIconContent = new Container
{
Width = SettingsSidebar.CONTRACTED_WIDTH,
RelativeSizeAxes = Axes.Y,
RelativeSizeAxes = Axes.Both,
Colour = OsuColour.Gray(0.6f),
Children = new Drawable[]
{
iconContainer = new ConstrainedIconContainer
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
Anchor = Anchor.CentreLeft,
Origin = Anchor.CentreLeft,
Size = new Vector2(20),
Margin = new MarginPadding { Left = 25 }
},
headerText = new OsuSpriteText
{