1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-08 01:23:05 +08:00

Limit upcoming matches displayed to 8

This commit is contained in:
Dean Herbert 2020-03-07 16:31:28 +09:00
parent 434feb5ac6
commit 9934a97bd0

View File

@ -116,7 +116,7 @@ namespace osu.Game.Tournament.Screens.Schedule
.SelectMany(m => m.ConditionalMatches.Where(cp => m.Acronyms.TrueForAll(a => cp.Acronyms.Contains(a)))); .SelectMany(m => m.ConditionalMatches.Where(cp => m.Acronyms.TrueForAll(a => cp.Acronyms.Contains(a))));
upcoming = upcoming.Concat(conditionals); upcoming = upcoming.Concat(conditionals);
upcoming = upcoming.OrderBy(p => p.Date.Value).Take(12); upcoming = upcoming.OrderBy(p => p.Date.Value).Take(8);
mainContainer.Child = new FillFlowContainer mainContainer.Child = new FillFlowContainer
{ {