Result counts displaying

This commit is contained in:
DrabWeb
2017-05-18 17:43:39 -03:00
parent 1d1375c4d4
commit a5fa7e1a7d
6 changed files with 55 additions and 12 deletions

View File

@ -3,7 +3,6 @@
using System.Collections.Generic;
using OpenTK;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites;
@ -30,12 +29,18 @@ namespace osu.Game.Overlays
var p = new List<DirectPanel>();
foreach (BeatmapSetInfo b in value)
p.Add(new DirectGridPanel(b) { Width = 407 });
p.Add(new DirectGridPanel(b) { Width = 400 });
panels.Children = p;
}
}
public ResultCounts ResultCounts
{
get { return filter.ResultCounts; }
set { filter.ResultCounts = value; }
}
public DirectOverlay()
{
RelativeSizeAxes = Axes.Both;