mirror of
https://github.com/osukey/osukey.git
synced 2025-08-07 00:23:59 +09:00
Merge branch 'skinnable-combo-counter' into skinnable-score-display
This commit is contained in:
@ -23,11 +23,6 @@ namespace osu.Game.Screens.Play.HUD
|
|||||||
public DefaultComboCounter()
|
public DefaultComboCounter()
|
||||||
{
|
{
|
||||||
Current.Value = DisplayedCount = 0;
|
Current.Value = DisplayedCount = 0;
|
||||||
|
|
||||||
Anchor = Anchor.TopCentre;
|
|
||||||
Origin = Anchor.TopLeft;
|
|
||||||
|
|
||||||
Position = offset;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
@ -40,7 +35,7 @@ namespace osu.Game.Screens.Play.HUD
|
|||||||
if (hud?.ScoreCounter.Drawable is DefaultScoreCounter score)
|
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(score.ScreenSpaceDrawQuad.TopRight) + offset;
|
Position = Parent.ToLocalSpace(score.ScreenSpaceDrawQuad.TopRight) + offset;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user