1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 22:42:57 +08:00

Adjust FilterControl to match design and give an absolute height.

This commit is contained in:
Dean Herbert 2017-02-08 20:14:37 +09:00
parent b6398a1c77
commit 050fa7fbe8
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49
2 changed files with 2 additions and 4 deletions

View File

@ -27,14 +27,12 @@ namespace osu.Game.Screens.Select
public FilterControl()
{
AutoSizeAxes = Axes.Y;
Children = new Drawable[]
{
new Box
{
Colour = Color4.Black,
Alpha = 0.6f,
Alpha = 0.8f,
RelativeSizeAxes = Axes.Both,
},
new FlowContainer

View File

@ -26,7 +26,6 @@ using osu.Game.Graphics.Containers;
using osu.Game.Graphics;
using osu.Framework.Input;
using OpenTK.Input;
using osu.Game.Graphics;
using System.Collections.Generic;
using osu.Framework.Threading;
@ -112,6 +111,7 @@ namespace osu.Game.Screens.Select
filter = new FilterControl
{
RelativeSizeAxes = Axes.X,
Height = 100,
FilterChanged = filterChanged,
Exit = Exit,
},