Skip to content

Commit 59edd99

Browse files
committed
fix(Draw): Modify the description of rating status and score labels to improve accuracy
1 parent 3d0366d commit 59edd99

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Draw/BestsDrawer.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public Image Draw(CommonUser user, IReadOnlyList<CommonRecord> ever, IReadOnlyLi
7777
if (user.Rating != realRating)
7878
{
7979
proberState = "off";
80-
proberStateDesc = "DX评分与最佳成绩不匹配";
80+
proberStateDesc = "DX评分与评分对象曲目不匹配";
8181
}
8282
else if (ever.Any(r => r.DXScore is 0 && (r.DXStar > 0 || r.Rank < Ranks.C)) ||
8383
current.Any(r => r.DXScore is 0 && (r.DXStar > 0 || r.Rank < Ranks.C)))
@@ -132,9 +132,9 @@ public Image Draw(CommonUser user, IReadOnlyList<CommonRecord> ever, IReadOnlyLi
132132
[JpMediumFont, ScMediumFont, SymbolsFont, Symbols2Font]);
133133

134134
string scorePart1 = everTotal.ToString();
135-
string scorePart2 = "B35";
135+
string scorePart2 = "最佳";
136136
string scorePart3 = $"+{currentTotal}";
137-
string scorePart4 = "B15";
137+
string scorePart4 = "新曲";
138138
string scorePart5 = $"={realRating}";
139139
FontRectangle scorePart1Size =
140140
LatinBoldFont.GetSize(27, scorePart1, [JpBoldFont, ScBoldFont, SymbolsFont, Symbols2Font]);
@@ -149,9 +149,9 @@ public Image Draw(CommonUser user, IReadOnlyList<CommonRecord> ever, IReadOnlyLi
149149
float scoreWidth = scorePart1Size.Width + scorePart2Size.Width + scorePart3Size.Width + scorePart4Size.Width +
150150
scorePart5Size.Width;
151151
PointF scorePart1Pos = new(287 - (scoreWidth / 2), 527);
152-
PointF scorePart2Pos = new(scorePart1Pos.X + scorePart1Size.Width, 542);
152+
PointF scorePart2Pos = new(scorePart1Pos.X + scorePart1Size.Width, 541);
153153
PointF scorePart3Pos = new(scorePart2Pos.X + scorePart2Size.Width, 527);
154-
PointF scorePart4Pos = new(scorePart3Pos.X + scorePart3Size.Width, 542);
154+
PointF scorePart4Pos = new(scorePart3Pos.X + scorePart3Size.Width, 541);
155155
PointF scorePart5Pos = new(scorePart4Pos.X + scorePart4Size.Width, 527);
156156
Rgb24 scoreColorValue = new(75, 77, 138);
157157
Color scoreColor = new(scoreColorValue);

0 commit comments

Comments
 (0)