1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-15 04:52:57 +08:00

Fix depth of header background.

Thanks to the order of adding to parent container, the depth value is actually not needed.
This commit is contained in:
Huo Yaoyuan 2017-05-22 15:58:01 +08:00
parent 85684e5fee
commit 63259a3457

View File

@ -162,8 +162,7 @@ namespace osu.Game.Overlays
Add(headerBackground = new Box
{
Colour = Color4.Black,
RelativeSizeAxes = Axes.X,
Depth = float.MaxValue
RelativeSizeAxes = Axes.X
});
}