mirror of
https://github.com/ppy/osu.git
synced 2025-03-10 22:57:19 +08:00
Merge pull request #28443 from ColdVolcano/shorten-accuracy
Fix Argon accuracy counter layout when under 10% and wireframe off
This commit is contained in:
commit
fb99daea2a
@ -58,6 +58,7 @@ namespace osu.Game.Screens.Play.HUD
|
|||||||
labelText = new OsuSpriteText
|
labelText = new OsuSpriteText
|
||||||
{
|
{
|
||||||
Alpha = 0,
|
Alpha = 0,
|
||||||
|
BypassAutoSizeAxes = Axes.X,
|
||||||
Text = label.GetValueOrDefault(),
|
Text = label.GetValueOrDefault(),
|
||||||
Font = OsuFont.Torus.With(size: 12, weight: FontWeight.Bold),
|
Font = OsuFont.Torus.With(size: 12, weight: FontWeight.Bold),
|
||||||
Margin = new MarginPadding { Left = 2.5f },
|
Margin = new MarginPadding { Left = 2.5f },
|
||||||
@ -65,6 +66,8 @@ namespace osu.Game.Screens.Play.HUD
|
|||||||
NumberContainer = new Container
|
NumberContainer = new Container
|
||||||
{
|
{
|
||||||
AutoSizeAxes = Axes.Both,
|
AutoSizeAxes = Axes.Both,
|
||||||
|
Anchor = anchor,
|
||||||
|
Origin = anchor,
|
||||||
Children = new[]
|
Children = new[]
|
||||||
{
|
{
|
||||||
wireframesPart = new ArgonCounterSpriteText(wireframesLookup)
|
wireframesPart = new ArgonCounterSpriteText(wireframesLookup)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user