From fea6adbf547d8bba76d9d4a9b4cc7b02c4291486 Mon Sep 17 00:00:00 2001 From: Unknown Date: Wed, 27 Mar 2019 10:12:04 +0100 Subject: [PATCH] fix wedge bleeding into other elements (and being misaligned) --- osu.Game/Screens/Select/SongSelect.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/osu.Game/Screens/Select/SongSelect.cs b/osu.Game/Screens/Select/SongSelect.cs index 8758df5151..2b9c635547 100644 --- a/osu.Game/Screens/Select/SongSelect.cs +++ b/osu.Game/Screens/Select/SongSelect.cs @@ -89,13 +89,12 @@ protected override BackgroundScreen CreateBackground() protected SongSelect() { const float carousel_width = 640; - const float filter_height = 100; AddRangeInternal(new Drawable[] { new ParallaxContainer { - Padding = new MarginPadding { Top = filter_height }, + Masking = true, ParallaxAmount = 0.005f, RelativeSizeAxes = Axes.Both, Children = new[] @@ -154,7 +153,7 @@ protected SongSelect() FilterControl = new FilterControl { RelativeSizeAxes = Axes.X, - Height = filter_height, + Height = 100, FilterChanged = c => Carousel.Filter(c), Background = { Width = 2 }, Exit = () =>