Tidy up OsuTabControl and FilterControl.

This commit is contained in:
Dean Herbert
2017-03-16 16:35:44 +09:00
parent 4bedd4d2d7
commit 334e389518
8 changed files with 122 additions and 89 deletions

View File

@ -94,10 +94,10 @@ namespace osu.Game.Screens.Select
Anchor = Anchor.CentreRight,
Origin = Anchor.CentreRight,
});
Add(FilterControl = new FilterControl(filter_height)
Add(FilterControl = new FilterControl
{
RelativeSizeAxes = Axes.X,
AutoSizeAxes = Axes.Y,
Height = filter_height,
FilterChanged = () => filterChanged(),
Exit = Exit,
});