mirror of
https://github.com/ppy/osu
synced 2024-12-15 11:25:29 +00:00
Merge pull request #1708 from peppy/fix-masking
Fix profile header not correctly being masked
This commit is contained in:
commit
fe1044a853
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user