mirror of https://github.com/ppy/osu
Merge pull request #2987 from peppy/fix-ugly-line
Fix pixel gap in user profile when scrolling
This commit is contained in:
commit
610b23df51
|
@ -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)
|
infoTextLeft = new LinkFlowContainer(t => t.TextSize = 14)
|
||||||
{
|
{
|
||||||
X = UserProfileOverlay.CONTENT_X_MARGIN,
|
X = UserProfileOverlay.CONTENT_X_MARGIN,
|
||||||
|
|
Loading…
Reference in New Issue