From c8afc553cbc5b9d17282389416343578a3db9636 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Mon, 18 Dec 2017 23:55:34 +0900 Subject: [PATCH] Fix profile header not correctly being masked Closes #1592. --- osu.Game/Overlays/Profile/ProfileHeader.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/osu.Game/Overlays/Profile/ProfileHeader.cs b/osu.Game/Overlays/Profile/ProfileHeader.cs index 4e19b3153d..4ddd6c498e 100644 --- a/osu.Game/Overlays/Profile/ProfileHeader.cs +++ b/osu.Game/Overlays/Profile/ProfileHeader.cs @@ -53,6 +53,7 @@ namespace osu.Game.Overlays.Profile { RelativeSizeAxes = Axes.X, Height = cover_height, + Masking = true, Children = new Drawable[] { new Box @@ -324,8 +325,7 @@ namespace osu.Game.Overlays.Profile FillMode = FillMode.Fill, OnLoadComplete = d => d.FadeInFromZero(200), Depth = float.MaxValue, - }, - coverContainer.Add); + }, coverContainer.Add); if (user.IsSupporter) supporterTag.Show(); @@ -514,7 +514,7 @@ namespace osu.Game.Overlays.Profile { set { - if(value != null) + if (value != null) content.Action = () => Process.Start(value); } }