mirror of
https://github.com/ppy/osu.git
synced 2026-06-03 00:20:23 +08:00
Merge pull request #32268 from bdach/fix-leaderboard-cutoff
Fix leaderboard date text being cut off sometimes
This commit is contained in:
@@ -181,6 +181,11 @@ namespace osu.Game.Tests.Visual.SongSelect
|
||||
{
|
||||
AddStep(@"Set scope", () => leaderboard.Scope = BeatmapLeaderboardScope.Global);
|
||||
AddStep(@"New Scores", () => leaderboard.SetScores(generateSampleScores(new BeatmapInfo())));
|
||||
AddStep(@"New Scores with teams", () => leaderboard.SetScores(generateSampleScores(new BeatmapInfo()).Select(s =>
|
||||
{
|
||||
s.User.Team = new APITeam();
|
||||
return s;
|
||||
})));
|
||||
}
|
||||
|
||||
[Test]
|
||||
@@ -473,7 +478,7 @@ namespace osu.Game.Tests.Visual.SongSelect
|
||||
Accuracy = 0.5140,
|
||||
MaxCombo = 244,
|
||||
TotalScore = 1707827,
|
||||
Date = DateTime.Now.AddMonths(-3),
|
||||
Date = DateTime.Now.AddMonths(-10),
|
||||
Mods = new Mod[] { new OsuModHidden(), new OsuModHardRock(), },
|
||||
BeatmapInfo = beatmapInfo,
|
||||
BeatmapHash = beatmapInfo.Hash,
|
||||
|
||||
@@ -190,7 +190,7 @@ namespace osu.Game.Online.Leaderboards
|
||||
RelativeSizeAxes = Axes.Y,
|
||||
Direction = FillDirection.Horizontal,
|
||||
Spacing = new Vector2(5f, 0f),
|
||||
Width = 114f,
|
||||
Width = 130f,
|
||||
Masking = true,
|
||||
Children = new Drawable[]
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user