Add back padding

This commit is contained in:
Dean Herbert 2018-11-16 12:20:21 +09:00
parent 46e163ec5e
commit e6637532bc
1 changed files with 2 additions and 2 deletions

View File

@ -109,8 +109,8 @@ protected override void UpdateAfterChildren()
{
base.UpdateAfterChildren();
score1Text.X = -Math.Max(score1Text.DrawWidth / 2, score1Bar.DrawWidth);
score2Text.X = Math.Max(score2Text.DrawWidth / 2, score2Bar.DrawWidth);
score1Text.X = -Math.Max(5 + score1Text.DrawWidth / 2, score1Bar.DrawWidth);
score2Text.X = Math.Max(5 + score2Text.DrawWidth / 2, score2Bar.DrawWidth);
}
private class MatchScoreCounter : ScoreCounter