1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 08:02:55 +08:00

Revert margin changes

This commit is contained in:
TheWildTree 2020-03-05 23:09:51 +01:00
parent 56f76580fd
commit df328dd981
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text. // See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation; using osu.Framework.Allocation;
@ -52,7 +52,7 @@ namespace osu.Game.Overlays.Rankings
Origin = Anchor.CentreLeft, Origin = Anchor.CentreLeft,
Direction = FillDirection.Horizontal, Direction = FillDirection.Horizontal,
Spacing = new Vector2(10, 0), Spacing = new Vector2(10, 0),
Margin = new MarginPadding { Left = OverlayHeader.CONTENT_X_MARGIN }, Margin = new MarginPadding { Left = UserProfileOverlay.CONTENT_X_MARGIN },
Children = new Drawable[] Children = new Drawable[]
{ {
new OsuSpriteText new OsuSpriteText

View File

@ -64,7 +64,7 @@ namespace osu.Game.Overlays.Rankings
new Container new Container
{ {
RelativeSizeAxes = Axes.Both, RelativeSizeAxes = Axes.Both,
Padding = new MarginPadding { Horizontal = OverlayHeader.CONTENT_X_MARGIN }, Padding = new MarginPadding { Horizontal = UserProfileOverlay.CONTENT_X_MARGIN },
Children = new Drawable[] Children = new Drawable[]
{ {
dropdown = new SpotlightsDropdown dropdown = new SpotlightsDropdown