1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-19 13:20:16 +08:00

Merge pull request #35000 from bdach/lazer-judgement-counter-misalign

This commit is contained in:
Dean Herbert
2025-09-13 22:29:58 +09:00
committed by GitHub
Unverified
3 changed files with 8 additions and 5 deletions
@@ -183,6 +183,9 @@ namespace osu.Game.Tests.Visual.Gameplay
AddStep("Show all judgements", () => counterDisplay.Mode.Value = ArgonJudgementCounterDisplay.DisplayMode.All);
AddWaitStep("wait some", 2);
AddAssert("Check all visible", () => counterDisplay.CounterFlow.ChildrenOfType<ArgonJudgementCounter>().Last().Alpha == 1);
AddToggleStep("toggle wireframe display", t => counterDisplay.WireframeOpacity.Value = t ? 0.3f : 0);
AddStep("Set direction vertical", () => counterDisplay.FlowDirection.Value = Direction.Vertical);
AddStep("Set direction horizontal", () => counterDisplay.FlowDirection.Value = Direction.Horizontal);
}
private int hiddenCount()
@@ -74,13 +74,13 @@ namespace osu.Game.Screens.Play.HUD
{
wireframesPart = new ArgonCounterSpriteText(wireframesLookup)
{
Anchor = anchor,
Origin = anchor,
Anchor = Anchor.TopRight,
Origin = Anchor.TopRight,
},
textPart = new ArgonCounterSpriteText(textLookup)
{
Anchor = anchor,
Origin = anchor,
Anchor = Anchor.TopRight,
Origin = Anchor.TopRight,
},
}
}
@@ -37,7 +37,7 @@ namespace osu.Game.Skinning.Components
Result = result;
AutoSizeAxes = Axes.Both;
AddInternal(textComponent = new ArgonCounterTextComponent(Anchor.TopRight, result.DisplayName.ToUpper()));
AddInternal(textComponent = new ArgonCounterTextComponent(Anchor.TopLeft, result.DisplayName.ToUpper()));
}
private void updateWireframe()