mirror of
https://github.com/ppy/osu.git
synced 2025-02-28 00:03:20 +08:00
Fix ModOverlay not including "UNRANKED" text in size
This commit is contained in:
parent
b210147c2e
commit
74c031cfbb
@ -48,22 +48,29 @@ namespace osu.Game.Screens.Play.HUD
|
|||||||
{
|
{
|
||||||
AutoSizeAxes = Axes.Both;
|
AutoSizeAxes = Axes.Both;
|
||||||
|
|
||||||
Children = new Drawable[]
|
Child = new FillFlowContainer
|
||||||
{
|
{
|
||||||
iconsContainer = new ReverseChildIDFillFlowContainer<ModIcon>
|
Anchor = Anchor.TopCentre,
|
||||||
|
Origin = Anchor.TopCentre,
|
||||||
|
AutoSizeAxes = Axes.Both,
|
||||||
|
Direction = FillDirection.Vertical,
|
||||||
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
Anchor = Anchor.TopCentre,
|
iconsContainer = new ReverseChildIDFillFlowContainer<ModIcon>
|
||||||
Origin = Anchor.TopCentre,
|
{
|
||||||
AutoSizeAxes = Axes.Both,
|
Anchor = Anchor.TopCentre,
|
||||||
Direction = FillDirection.Horizontal,
|
Origin = Anchor.TopCentre,
|
||||||
|
AutoSizeAxes = Axes.Both,
|
||||||
|
Direction = FillDirection.Horizontal,
|
||||||
|
},
|
||||||
|
unrankedText = new OsuSpriteText
|
||||||
|
{
|
||||||
|
Anchor = Anchor.TopCentre,
|
||||||
|
Origin = Anchor.TopCentre,
|
||||||
|
Text = @"/ UNRANKED /",
|
||||||
|
Font = OsuFont.Numeric.With(size: 12)
|
||||||
|
}
|
||||||
},
|
},
|
||||||
unrankedText = new OsuSpriteText
|
|
||||||
{
|
|
||||||
Anchor = Anchor.BottomCentre,
|
|
||||||
Origin = Anchor.TopCentre,
|
|
||||||
Text = @"/ UNRANKED /",
|
|
||||||
Font = OsuFont.Numeric.With(size: 12)
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
Current.ValueChanged += mods =>
|
Current.ValueChanged += mods =>
|
||||||
|
Loading…
Reference in New Issue
Block a user