mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 03:02:56 +08: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,
|
RelativeSizeAxes = Axes.X,
|
||||||
Height = cover_height,
|
Height = cover_height,
|
||||||
|
Masking = true,
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
new Box
|
new Box
|
||||||
@ -324,8 +325,7 @@ namespace osu.Game.Overlays.Profile
|
|||||||
FillMode = FillMode.Fill,
|
FillMode = FillMode.Fill,
|
||||||
OnLoadComplete = d => d.FadeInFromZero(200),
|
OnLoadComplete = d => d.FadeInFromZero(200),
|
||||||
Depth = float.MaxValue,
|
Depth = float.MaxValue,
|
||||||
},
|
}, coverContainer.Add);
|
||||||
coverContainer.Add);
|
|
||||||
|
|
||||||
if (user.IsSupporter) supporterTag.Show();
|
if (user.IsSupporter) supporterTag.Show();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user