From 8ef5a01bc15e5ec88c43020cdd5cf78a32e699bf Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Wed, 12 Mar 2025 17:46:05 +0900 Subject: [PATCH] Adjust visuals to match stable Was never a huge fan of the gradient we had. --- osu.Game/Screens/Play/LetterboxOverlay.cs | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/osu.Game/Screens/Play/LetterboxOverlay.cs b/osu.Game/Screens/Play/LetterboxOverlay.cs index 168c707c3b..4c934f56cd 100644 --- a/osu.Game/Screens/Play/LetterboxOverlay.cs +++ b/osu.Game/Screens/Play/LetterboxOverlay.cs @@ -3,7 +3,6 @@ using osu.Framework.Bindables; using osu.Framework.Graphics; -using osu.Framework.Graphics.Colour; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Shapes; using osu.Game.Utils; @@ -23,9 +22,8 @@ namespace osu.Game.Screens.Play public LetterboxOverlay() { - const int letterbox_height = 150; - RelativeSizeAxes = Axes.Both; + const float letterbox_height = 0.125f; InternalChild = fadeContainer = new Container { @@ -37,17 +35,17 @@ namespace osu.Game.Screens.Play { Anchor = Anchor.TopLeft, Origin = Anchor.TopLeft, - RelativeSizeAxes = Axes.X, + RelativeSizeAxes = Axes.Both, Height = letterbox_height, - Colour = ColourInfo.GradientVertical(Color4.Black, transparent_black), + Colour = Color4.Black, }, new Box { Anchor = Anchor.BottomLeft, Origin = Anchor.BottomLeft, - RelativeSizeAxes = Axes.X, + RelativeSizeAxes = Axes.Both, Height = letterbox_height, - Colour = ColourInfo.GradientVertical(transparent_black, Color4.Black), + Colour = Color4.Black, } } };