diff --git a/osu.Game/Screens/Select/BeatmapInfoWedgeV2.cs b/osu.Game/Screens/Select/BeatmapInfoWedgeV2.cs index cdac1d34a035..0305df576b20 100644 --- a/osu.Game/Screens/Select/BeatmapInfoWedgeV2.cs +++ b/osu.Game/Screens/Select/BeatmapInfoWedgeV2.cs @@ -155,6 +155,12 @@ private void load() }, new InfoWedgeBackground { + Padding = new MarginPadding + { + Top = 10, + Left = -WEDGE_CORNER_RADIUS, + Right = SHEAR_WIDTH + COLOUR_BAR_WIDTH + }, Child = new BasicBeatmapInfoContent { Padding = new MarginPadding @@ -167,6 +173,12 @@ private void load() }, new InfoWedgeBackground { + Padding = new MarginPadding + { + Top = 5, + Left = -WEDGE_CORNER_RADIUS, + Right = SHEAR_WIDTH + COLOUR_BAR_WIDTH + 8f, + }, Child = new ExtendedBeatmapInfoContent { Padding = new MarginPadding diff --git a/osu.Game/Screens/Select/InfoWedgeBackground.cs b/osu.Game/Screens/Select/InfoWedgeBackground.cs index a0bf0aab1cbf..473ef8ba1475 100644 --- a/osu.Game/Screens/Select/InfoWedgeBackground.cs +++ b/osu.Game/Screens/Select/InfoWedgeBackground.cs @@ -24,15 +24,6 @@ public InfoWedgeBackground() { RelativeSizeAxes = Axes.X; AutoSizeAxes = Axes.Y; - - Padding = new MarginPadding - { - Top = 10, - Left = -BeatmapInfoWedgeV2.WEDGE_CORNER_RADIUS, - - // TODO: should account top wedge's shear width for alignment (hard to do as this auto-sizes height right now) - Right = BeatmapInfoWedgeV2.SHEAR_WIDTH + BeatmapInfoWedgeV2.COLOUR_BAR_WIDTH - }; } [BackgroundDependencyLoader]