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