mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 18:23:04 +08:00
Remove unnecessary AccuracyText enum
All elements use "score" regardless.
This commit is contained in:
parent
e9c4b67cf4
commit
3ce6d1fea1
@ -9,6 +9,5 @@ namespace osu.Game.Skinning
|
||||
ScoreCounter,
|
||||
ScoreText,
|
||||
AccuracyCounter,
|
||||
AccuracyText
|
||||
}
|
||||
}
|
||||
|
@ -29,7 +29,7 @@ namespace osu.Game.Skinning
|
||||
[Resolved(canBeNull: true)]
|
||||
private HUDOverlay hud { get; set; }
|
||||
|
||||
protected sealed override OsuSpriteText CreateSpriteText() => skin?.GetDrawableComponent(new HUDSkinComponent(HUDSkinComponents.AccuracyText)) as OsuSpriteText ?? new OsuSpriteText();
|
||||
protected sealed override OsuSpriteText CreateSpriteText() => skin?.GetDrawableComponent(new HUDSkinComponent(HUDSkinComponents.ScoreText)) as OsuSpriteText ?? new OsuSpriteText();
|
||||
|
||||
protected override void Update()
|
||||
{
|
||||
|
@ -350,7 +350,6 @@ namespace osu.Game.Skinning
|
||||
return new LegacyAccuracyCounter(this);
|
||||
|
||||
case HUDSkinComponents.ScoreText:
|
||||
case HUDSkinComponents.AccuracyText:
|
||||
return new LegacySpriteText(this, scorePrefix)
|
||||
{
|
||||
Spacing = new Vector2(-(GetConfig<LegacySkinConfiguration.LegacySetting, int>(LegacySkinConfiguration.LegacySetting.ScoreOverlap)?.Value ?? -2), 0)
|
||||
|
Loading…
Reference in New Issue
Block a user