1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-07 23:15:45 +08:00

fix accuracy counter separating whole and fraction parts with wireframes off

This commit is contained in:
ColdVolcano 2024-06-11 02:20:14 -06:00
parent cd3b455341
commit 4048a4bdfb

View File

@ -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)