Skip to content

Commit

Permalink
Adjust leaderboard score design slightly
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
peppy committed Feb 26, 2025
1 parent b3965f0 commit e8b7ec0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion osu.Game/Online/Leaderboards/LeaderboardScore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ private void load(IAPIProvider api, OsuColour colour)
Anchor = Anchor.CentreRight,
Origin = Anchor.CentreRight,
AutoSizeAxes = Axes.Both,
Spacing = new Vector2(-10, 0),
Direction = FillDirection.Horizontal,
ChildrenEnumerable = Score.Mods.AsOrdered().Select(mod => new ModIcon(mod) { Scale = new Vector2(0.34f) })
},
Expand Down Expand Up @@ -425,7 +426,7 @@ private partial class DateLabel : DrawableDate
public DateLabel(DateTimeOffset date)
: base(date)
{
Font = OsuFont.GetFont(size: 13, weight: FontWeight.Bold, italics: true);
Font = OsuFont.GetFont(size: 14, weight: FontWeight.Bold);
}

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

0 comments on commit e8b7ec0

Please sign in to comment.