Fix pixel gap in user profile when scrolling

This commit is contained in:
Dean Herbert 2018-07-10 13:06:03 +09:00
parent abfebbddd9
commit 7f315d79c2
1 changed files with 7 additions and 0 deletions

View File

@ -158,6 +158,13 @@ public ProfileHeader(User user)
}
}
},
new Box // this is a temporary workaround for incorrect masking behaviour of FillMode.Fill used in UserCoverBackground (see https://github.com/ppy/osu-framework/issues/1675)
{
RelativeSizeAxes = Axes.X,
Height = 1,
Y = cover_height,
Colour = OsuColour.Gray(34),
},
infoTextLeft = new LinkFlowContainer(t => t.TextSize = 14)
{
X = UserProfileOverlay.CONTENT_X_MARGIN,