mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 16:27:26 +08: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