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:
commit
f37546cc77
@ -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;
|
||||||
}),
|
}),
|
||||||
|
Loading…
Reference in New Issue
Block a user