1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 17:27:24 +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:
Bartłomiej Dach 2024-06-11 14:57:59 +02:00 committed by GitHub
commit fb99daea2a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -58,6 +58,7 @@ namespace osu.Game.Screens.Play.HUD
labelText = new OsuSpriteText
{
Alpha = 0,
BypassAutoSizeAxes = Axes.X,
Text = label.GetValueOrDefault(),
Font = OsuFont.Torus.With(size: 12, weight: FontWeight.Bold),
Margin = new MarginPadding { Left = 2.5f },
@ -65,6 +66,8 @@ namespace osu.Game.Screens.Play.HUD
NumberContainer = new Container
{
AutoSizeAxes = Axes.Both,
Anchor = anchor,
Origin = anchor,
Children = new[]
{
wireframesPart = new ArgonCounterSpriteText(wireframesLookup)