1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 11:07:52 +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 => backgroundContent = CreateBackground(colour).With(bg =>
{ {
bg.RelativeSizeAxes = Axes.Y; bg.RelativeSizeAxes = Axes.Y;
bg.X = -ButtonSystem.WEDGE_WIDTH;
bg.Anchor = Anchor.Centre; bg.Anchor = Anchor.Centre;
bg.Origin = Anchor.Centre; bg.Origin = Anchor.Centre;
}), }),