mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 08:02:55 +08:00
Merge branch 'skinnable-combo-counter' into skinnable-score-display
This commit is contained in:
commit
43e5cb90e2
@ -23,11 +23,6 @@ namespace osu.Game.Screens.Play.HUD
|
||||
public DefaultComboCounter()
|
||||
{
|
||||
Current.Value = DisplayedCount = 0;
|
||||
|
||||
Anchor = Anchor.TopCentre;
|
||||
Origin = Anchor.TopLeft;
|
||||
|
||||
Position = offset;
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
@ -40,7 +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.
|
||||
Position += ToLocalSpace(score.ScreenSpaceDrawQuad.TopRight) + offset;
|
||||
Position = Parent.ToLocalSpace(score.ScreenSpaceDrawQuad.TopRight) + offset;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user