mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 09:22:54 +08:00
Adjust FilterControl to match design and give an absolute height.
This commit is contained in:
parent
b6398a1c77
commit
050fa7fbe8
@ -27,14 +27,12 @@ namespace osu.Game.Screens.Select
|
|||||||
|
|
||||||
public FilterControl()
|
public FilterControl()
|
||||||
{
|
{
|
||||||
AutoSizeAxes = Axes.Y;
|
|
||||||
|
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
new Box
|
new Box
|
||||||
{
|
{
|
||||||
Colour = Color4.Black,
|
Colour = Color4.Black,
|
||||||
Alpha = 0.6f,
|
Alpha = 0.8f,
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
},
|
},
|
||||||
new FlowContainer
|
new FlowContainer
|
||||||
|
@ -26,7 +26,6 @@ using osu.Game.Graphics.Containers;
|
|||||||
using osu.Game.Graphics;
|
using osu.Game.Graphics;
|
||||||
using osu.Framework.Input;
|
using osu.Framework.Input;
|
||||||
using OpenTK.Input;
|
using OpenTK.Input;
|
||||||
using osu.Game.Graphics;
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using osu.Framework.Threading;
|
using osu.Framework.Threading;
|
||||||
|
|
||||||
@ -112,6 +111,7 @@ namespace osu.Game.Screens.Select
|
|||||||
filter = new FilterControl
|
filter = new FilterControl
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.X,
|
RelativeSizeAxes = Axes.X,
|
||||||
|
Height = 100,
|
||||||
FilterChanged = filterChanged,
|
FilterChanged = filterChanged,
|
||||||
Exit = Exit,
|
Exit = Exit,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user