mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
Split score counter class into two distinct classes to simplify usages
This commit is contained in:
@ -127,12 +127,11 @@ namespace osu.Game.Tournament.Screens.Gameplay.Components
|
||||
score2Text.X = Math.Max(5 + score2Text.DrawWidth / 2, score2Bar.DrawWidth);
|
||||
}
|
||||
|
||||
private class MatchScoreCounter : ScoreCounter
|
||||
private class MatchScoreCounter : CommaSeparatedScoreCounter
|
||||
{
|
||||
private OsuSpriteText displayedSpriteText;
|
||||
|
||||
public MatchScoreCounter()
|
||||
: base(useCommaSeparator: true)
|
||||
{
|
||||
Margin = new MarginPadding { Top = bar_height, Horizontal = 10 };
|
||||
}
|
||||
|
Reference in New Issue
Block a user