Skip to content

Commit

Permalink
Merge pull request #57 from ILW8/revert-mods-display-center
Browse files Browse the repository at this point in the history
Revert "move mods display to top center"
  • Loading branch information
ILW8 authored May 18, 2024
2 parents f01ea39 + 9bcdfdf commit 1a2074c
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions osu.Game/Screens/Play/HUDOverlay.cs
Original file line number Diff line number Diff line change
Expand Up @@ -134,14 +134,12 @@ public HUDOverlay([CanBeNull] DrawableRuleset drawableRuleset, IReadOnlyList<Mod
: Empty(),
topRightElements = new FillFlowContainer
{
Anchor = Anchor.TopCentre,
Origin = Anchor.TopCentre,
Anchor = Anchor.TopRight,
Origin = Anchor.TopRight,
AlwaysPresent = true,
Margin = new MarginPadding(10),
Spacing = new Vector2(10),
AutoSizeAxes = Axes.Y,
RelativeSizeAxes = Axes.X,
Width = 1.0f,
AutoSizeAxes = Axes.Both,
Direction = FillDirection.Vertical,
Children = new Drawable[]
{
Expand Down Expand Up @@ -383,11 +381,9 @@ protected virtual void BindDrawableRuleset(DrawableRuleset drawableRuleset)

protected ModDisplay CreateModsContainer() => new ModDisplay
{
Anchor = Anchor.TopCentre,
Origin = Anchor.TopCentre,
Margin = new MarginPadding { Top = 32 },
Scale = new Vector2(1.15f),
ExpansionMode = ExpansionMode.AlwaysExpanded
Anchor = Anchor.TopRight,
Origin = Anchor.TopRight,
Margin = new MarginPadding { Top = 96 }
};

protected PlayerSettingsOverlay CreatePlayerSettingsOverlay() => new PlayerSettingsOverlay();
Expand Down

0 comments on commit 1a2074c

Please sign in to comment.