Skip to content

Commit

Permalink
Add score time to beatmap set overlay scoreboard table
Browse files Browse the repository at this point in the history
  • Loading branch information
bdach committed Jan 7, 2022
1 parent 87f7c7e commit 9e84e31
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions osu.Game/Overlays/BeatmapSet/Scores/ScoreTable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ private TableColumn[] createHeaders(IReadOnlyList<ScoreInfo> scores)
if (showPerformancePoints)
columns.Add(new TableColumn(BeatmapsetsStrings.ShowScoreboardHeaderspp, Anchor.CentreLeft, new Dimension(GridSizeMode.Absolute, 30)));

columns.Add(new TableColumn(BeatmapsetsStrings.ShowScoreboardHeadersTime, Anchor.CentreLeft, new Dimension(GridSizeMode.AutoSize)));
columns.Add(new TableColumn(BeatmapsetsStrings.ShowScoreboardHeadersMods, Anchor.CentreLeft, new Dimension(GridSizeMode.AutoSize)));

return columns.ToArray();
Expand Down Expand Up @@ -202,6 +203,11 @@ private Drawable[] createContent(int index, ScoreInfo score)
});
}

content.Add(new ScoreboardTime(score.Date, text_size)
{
Margin = new MarginPadding { Right = 10 }
});

content.Add(new FillFlowContainer
{
Direction = FillDirection.Horizontal,
Expand Down

0 comments on commit 9e84e31

Please sign in to comment.