1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-13 08:23:20 +08:00

Merge pull request #28358 from bdach/fix-main-menu-button-bg

Fix main menu button backgrounds not covering their entire width sometimes
This commit is contained in:
Dean Herbert 2024-05-30 17:57:53 +09:00 committed by GitHub
commit f37546cc77
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -115,7 +115,6 @@ namespace osu.Game.Screens.Menu
backgroundContent = CreateBackground(colour).With(bg =>
{
bg.RelativeSizeAxes = Axes.Y;
bg.X = -ButtonSystem.WEDGE_WIDTH;
bg.Anchor = Anchor.Centre;
bg.Origin = Anchor.Centre;
}),