mirror of
https://github.com/ppy/osu
synced 2024-12-13 02:17:32 +00:00
Inline variable
This commit is contained in:
parent
05f1017c28
commit
e9c4b67cf4
@ -351,10 +351,9 @@ namespace osu.Game.Skinning
|
||||
|
||||
case HUDSkinComponents.ScoreText:
|
||||
case HUDSkinComponents.AccuracyText:
|
||||
int scoreOverlap = GetConfig<LegacySkinConfiguration.LegacySetting, int>(LegacySkinConfiguration.LegacySetting.ScoreOverlap)?.Value ?? -2;
|
||||
return new LegacySpriteText(this, scorePrefix)
|
||||
{
|
||||
Spacing = new Vector2(-scoreOverlap, 0)
|
||||
Spacing = new Vector2(-(GetConfig<LegacySkinConfiguration.LegacySetting, int>(LegacySkinConfiguration.LegacySetting.ScoreOverlap)?.Value ?? -2), 0)
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user