diff --git a/osu.Game/Skinning/ArgonSkin.cs b/osu.Game/Skinning/ArgonSkin.cs index b3eff41495..03b089582d 100644 --- a/osu.Game/Skinning/ArgonSkin.cs +++ b/osu.Game/Skinning/ArgonSkin.cs @@ -137,7 +137,12 @@ namespace osu.Game.Skinning health.Position = new Vector2(components_x_offset, 20f); if (healthLine != null) - healthLine.Y = health.Y; + { + healthLine.Anchor = Anchor.TopLeft; + healthLine.Origin = Anchor.CentreLeft; + healthLine.Y = health.Y + ArgonHealthDisplay.MAIN_PATH_RADIUS; + healthLine.Size = new Vector2(45, 3); + } if (scoreWedge != null) { diff --git a/osu.Game/Skinning/Components/RoundedLine.cs b/osu.Game/Skinning/Components/RoundedLine.cs index d7b12c3f4c..491f87d31e 100644 --- a/osu.Game/Skinning/Components/RoundedLine.cs +++ b/osu.Game/Skinning/Components/RoundedLine.cs @@ -1,29 +1,18 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -using osu.Framework.Allocation; -using osu.Framework.Graphics; -using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Shapes; +using osuTK; namespace osu.Game.Skinning.Components { - public partial class RoundedLine : CompositeDrawable, ISerialisableDrawable + public partial class RoundedLine : Circle, ISerialisableDrawable { public bool UsesFixedAnchor { get; set; } - [BackgroundDependencyLoader] - private void load() + public RoundedLine() { - AutoSizeAxes = Axes.Both; - - InternalChild = new Circle - { - Anchor = Anchor.CentreLeft, - Origin = Anchor.CentreLeft, - Width = 45f, - Height = 3f, - }; + Size = new Vector2(200, 8); } } }