Skip to content

Commit e8b7ec0

Browse files
committed
Adjust leaderboard score design slightly
This design is about to get replaced, so I'm just making some minor adjustments since a lot of people complained about the font size in the last update. Of note, I'm only changing the font size which is one pt size lower than we'd usually use. Also overlapping the mod icons to create a bit more space (since there's already cases where they don't fit). Closes ppy#32055 as far as I'm concerned. I can read everything fine at 0.8x UI scale.
1 parent b3965f0 commit e8b7ec0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

osu.Game/Online/Leaderboards/LeaderboardScore.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ private void load(IAPIProvider api, OsuColour colour)
271271
Anchor = Anchor.CentreRight,
272272
Origin = Anchor.CentreRight,
273273
AutoSizeAxes = Axes.Both,
274+
Spacing = new Vector2(-10, 0),
274275
Direction = FillDirection.Horizontal,
275276
ChildrenEnumerable = Score.Mods.AsOrdered().Select(mod => new ModIcon(mod) { Scale = new Vector2(0.34f) })
276277
},
@@ -425,7 +426,7 @@ private partial class DateLabel : DrawableDate
425426
public DateLabel(DateTimeOffset date)
426427
: base(date)
427428
{
428-
Font = OsuFont.GetFont(size: 13, weight: FontWeight.Bold, italics: true);
429+
Font = OsuFont.GetFont(size: 14, weight: FontWeight.Bold);
429430
}
430431

431432
protected override string Format() => Date.ToShortRelativeTime(TimeSpan.FromSeconds(30));

0 commit comments

Comments
 (0)