mirror of
https://github.com/osukey/osukey.git
synced 2025-06-18 01:37:57 +09:00
Update combo counter to read from default score display's position correctly
This commit is contained in:
parent
950c47287c
commit
b210147c2e
@ -37,10 +37,10 @@ namespace osu.Game.Screens.Play.HUD
|
|||||||
{
|
{
|
||||||
base.Update();
|
base.Update();
|
||||||
|
|
||||||
if (hud != null)
|
if (hud?.ScoreCounter.Drawable is DefaultScoreCounter score)
|
||||||
{
|
{
|
||||||
// for now align with the score counter. eventually this will be user customisable.
|
// for now align with the score counter. eventually this will be user customisable.
|
||||||
Position += ToLocalSpace(hud.ScoreCounter.ScreenSpaceDrawQuad.TopRight) + offset;
|
Position += ToLocalSpace(score.ScreenSpaceDrawQuad.TopRight) + offset;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@ namespace osu.Game.Screens.Play.HUD
|
|||||||
Anchor = Anchor.BottomLeft;
|
Anchor = Anchor.BottomLeft;
|
||||||
Origin = Anchor.BottomLeft;
|
Origin = Anchor.BottomLeft;
|
||||||
|
|
||||||
Margin = new MarginPadding { Bottom = 10, Left = 10 };
|
Margin = new MarginPadding(10);
|
||||||
|
|
||||||
Scale = new Vector2(1.2f);
|
Scale = new Vector2(1.2f);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user