This commit is contained in:
Dean Herbert
2020-10-15 18:11:30 +09:00
parent 4f6dd15869
commit b31a3fbabb
3 changed files with 54 additions and 1 deletions

View File

@ -16,6 +16,7 @@ namespace osu.Game.Screens.Play.HUD
public DefaultAccuracyCounter()
{
Origin = Anchor.TopRight;
Anchor = Anchor.TopRight;
}
[Resolved(canBeNull: true)]
@ -34,6 +35,7 @@ namespace osu.Game.Screens.Play.HUD
if (hud?.ScoreCounter.Drawable is DefaultScoreCounter score)
{
// for now align with the score counter. eventually this will be user customisable.
Anchor = Anchor.TopLeft;
Position = Parent.ToLocalSpace(score.ScreenSpaceDrawQuad.TopLeft) + offset;
}
}