diff --git a/osu.Game/Graphics/UserInterface/LineGraph.cs b/osu.Game/Graphics/UserInterface/LineGraph.cs index 28b62ff957..8817d79bdd 100644 --- a/osu.Game/Graphics/UserInterface/LineGraph.cs +++ b/osu.Game/Graphics/UserInterface/LineGraph.cs @@ -58,9 +58,12 @@ namespace osu.Game.Graphics.UserInterface Add(maskingContainer = new Container { Masking = true, - RelativeSizeAxes = Axes.Both + RelativeSizeAxes = Axes.Both, + Children = new[] + { + path = new Path { RelativeSizeAxes = Axes.Both, PathWidth = 1 } + } }); - maskingContainer.Add(path = new Path { RelativeSizeAxes = Axes.Both, PathWidth = 1 }); } public override bool Invalidate(Invalidation invalidation = Invalidation.All, Drawable source = null, bool shallPropagate = true) @@ -72,9 +75,9 @@ namespace osu.Game.Graphics.UserInterface private void applyPath() { + path.ClearVertices(); if (values == null) return; - path.ClearVertices(); int count = Math.Max(values.Length, DefaultValueCount); float max = values.Max(), min = values.Min(); diff --git a/osu.Game/Overlays/Profile/ProfileSection.cs b/osu.Game/Overlays/Profile/ProfileSection.cs index a840eea504..63c5263a72 100644 --- a/osu.Game/Overlays/Profile/ProfileSection.cs +++ b/osu.Game/Overlays/Profile/ProfileSection.cs @@ -45,7 +45,16 @@ namespace osu.Game.Overlays.Profile Margin = new MarginPadding { Horizontal = UserProfileOverlay.CONTENT_X_MARGIN, - Bottom = 20 + Bottom = 200 + }, + Children = new Drawable[] + { + new TextFlowContainer + { + AutoSizeAxes = Axes.Y, + RelativeSizeAxes = Axes.X, + Text = "Coming soon!" + } } }, new Box