1
0
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:
Dan Balasescu 2017-12-19 18:29:35 +09:00 committed by GitHub
commit fe1044a853
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();