mirror of
https://github.com/ppy/osu
synced 2025-01-27 08:13:06 +00:00
Adjust default location slightly, fix alignment of "pp" subtext
This commit is contained in:
parent
b6af93d434
commit
81a13566bc
@ -133,7 +133,8 @@ namespace osu.Game.Screens.Play.HUD
|
||||
Anchor = Anchor.BottomLeft,
|
||||
Origin = Anchor.BottomLeft,
|
||||
Text = @"pp",
|
||||
Font = OsuFont.Numeric.With(size: 8)
|
||||
Font = OsuFont.Numeric.With(size: 8),
|
||||
Padding = new MarginPadding { Bottom = 1.5f }, // align baseline better
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@ -84,7 +84,7 @@ namespace osu.Game.Skinning
|
||||
|
||||
if (ppCounter != null)
|
||||
{
|
||||
ppCounter.Y = score.Position.Y + score.ScreenSpaceDrawQuad.Size.Y;
|
||||
ppCounter.Y = score.Position.Y + ppCounter.ScreenSpaceDeltaToParentSpace(score.ScreenSpaceDrawQuad.Size).Y - 4;
|
||||
ppCounter.Origin = Anchor.TopCentre;
|
||||
ppCounter.Anchor = Anchor.TopCentre;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user